127#ifndef vtkTextProperty_h 
  128#define vtkTextProperty_h 
  131#include "vtkRenderingCoreModule.h"  
  134VTK_ABI_NAMESPACE_BEGIN
 
  151  vtkSetVector3Macro(Color, 
double);
 
  152  vtkGetVector3Macro(Color, 
double);
 
  160  vtkSetClampMacro(Opacity, 
double, 0., 1.);
 
  161  vtkGetMacro(Opacity, 
double);
 
  168  vtkSetVector3Macro(BackgroundColor, 
double);
 
  169  vtkGetVector3Macro(BackgroundColor, 
double);
 
  177  vtkSetClampMacro(BackgroundOpacity, 
double, 0., 1.);
 
  178  vtkGetMacro(BackgroundOpacity, 
double);
 
  186  void SetBackgroundRGBA(
double rgba[4]);
 
  188  void SetBackgroundRGBA(
double r, 
double g, 
double b, 
double a);
 
  194  void GetBackgroundRGBA(
double rgba[4]);
 
  196  void GetBackgroundRGBA(
double& r, 
double& g, 
double& b, 
double& a);
 
  203  vtkSetVector3Macro(FrameColor, 
double);
 
  204  vtkGetVector3Macro(FrameColor, 
double);
 
  222  vtkGetMacro(FrameWidth, 
int);
 
  232  vtkGetStringMacro(FontFamilyAsString);
 
  233  vtkSetStringMacro(FontFamilyAsString);
 
  234  void SetFontFamily(
int t);
 
  237  void SetFontFamilyToArial();
 
  238  void SetFontFamilyToCourier();
 
  239  void SetFontFamilyToTimes();
 
  240  static int GetFontFamilyFromString(
const char* f);
 
  241  static const char* GetFontFamilyAsString(
int f);
 
  259  vtkGetMacro(FontSize, 
int);
 
  294  vtkSetVector2Macro(ShadowOffset, 
int);
 
  295  vtkGetVectorMacro(ShadowOffset, 
int, 2);
 
  309  vtkGetMacro(Justification, 
int);
 
  313  const char* GetJustificationAsString();
 
  322  vtkGetMacro(VerticalJustification, 
int);
 
  326  const char* GetVerticalJustificationAsString();
 
  345  vtkSetMacro(Orientation, 
double);
 
  346  vtkGetMacro(Orientation, 
double);
 
  354  vtkSetMacro(LineSpacing, 
double);
 
  355  vtkGetMacro(LineSpacing, 
double);
 
  362  vtkSetMacro(LineOffset, 
double);
 
  363  vtkGetMacro(LineOffset, 
double);
 
  371  vtkSetMacro(CellOffset, 
double);
 
  372  vtkGetMacro(CellOffset, 
double);
 
  380  vtkSetMacro(InteriorLinesVisibility, 
bool);
 
  381  vtkGetMacro(InteriorLinesVisibility, 
bool);
 
  389  vtkSetMacro(InteriorLinesWidth, 
int);
 
  390  vtkGetMacro(InteriorLinesWidth, 
int);
 
  398  vtkSetVector3Macro(InteriorLinesColor, 
double);
 
  399  vtkGetVector3Macro(InteriorLinesColor, 
double);
 
  413  double BackgroundColor[3];
 
  416  double FrameColor[3];
 
  432  bool InteriorLinesVisibility = 
false;
 
  433  int InteriorLinesWidth = 1;
 
  434  double InteriorLinesColor[3] = { 0.0, 0.0, 0.0 };
 
a simple class to control print indentation
 
abstract base class for most VTK objects
 
represent text properties.
 
void SetFontFamilyToArial()
Set/Get the font family.
 
void ShallowCopy(vtkTextProperty *tprop)
Shallow copy of a text property.
 
static vtkTextProperty * New()
Creates a new text property with font size 12, bold off, italic off, and Arial font.
 
static int GetFontFamilyFromString(const char *f)
Set/Get the font family.
 
char * FontFamilyAsString
 
virtual char * GetFontFamilyAsString()
Set/Get the font family.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
void SetJustificationToCentered()
Set/Get the horizontal justification to left (default), centered, or right.
 
void SetFontFamilyToCourier()
Set/Get the font family.
 
void SetVerticalJustificationToCentered()
Set/Get the vertical justification to bottom (default), middle, or top.
 
int GetFontFamily()
Set/Get the font family.
 
void SetJustificationToLeft()
Set/Get the horizontal justification to left (default), centered, or right.
 
const char * GetVerticalJustificationAsString()
Set/Get the vertical justification to bottom (default), middle, or top.
 
vtkGetFilePathMacro(FontFile)
The absolute filepath to a local file containing a freetype-readable font if GetFontFamily() return V...
 
vtkSetFilePathMacro(FontFile)
The absolute filepath to a local file containing a freetype-readable font if GetFontFamily() return V...
 
vtkTypeBool UseTightBoundingBox
 
void SetJustificationToRight()
Set/Get the horizontal justification to left (default), centered, or right.
 
void SetVerticalJustificationToTop()
Set/Get the vertical justification to bottom (default), middle, or top.
 
~vtkTextProperty() override
 
void SetFontFamily(int t)
Set/Get the font family.
 
void GetShadowColor(double color[3])
Get the shadow color.
 
int VerticalJustification
 
void SetVerticalJustificationToBottom()
Set/Get the vertical justification to bottom (default), middle, or top.
 
const char * GetJustificationAsString()
Set/Get the horizontal justification to left (default), centered, or right.
 
virtual void SetFontFamilyAsString(const char *)
Set/Get the font family.
 
void SetFontFamilyToTimes()
Set/Get the font family.
 
#define VTK_TEXT_CENTERED
 
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
 
#define VTK_MARSHALEXCLUDE(reason)