42 vtkSetVector3Macro(Color,
double);
43 vtkGetVector3Macro(Color,
double);
51 vtkSetClampMacro(Opacity,
double, 0., 1.);
52 vtkGetMacro(Opacity,
double);
59 vtkSetVector3Macro(BackgroundColor,
double);
60 vtkGetVector3Macro(BackgroundColor,
double);
68 vtkSetClampMacro(BackgroundOpacity,
double, 0., 1.);
69 vtkGetMacro(BackgroundOpacity,
double);
77 void SetBackgroundRGBA(
double rgba[4]);
79 void SetBackgroundRGBA(
double r,
double g,
double b,
double a);
85 void GetBackgroundRGBA(
double rgba[4]);
87 void GetBackgroundRGBA(
double& r,
double& g,
double& b,
double& a);
94 vtkSetVector3Macro(FrameColor,
double);
95 vtkGetVector3Macro(FrameColor,
double);
113 vtkGetMacro(FrameWidth,
int);
123 vtkGetStringMacro(FontFamilyAsString);
124 vtkSetStringMacro(FontFamilyAsString);
125 void SetFontFamily(
int t);
128 void SetFontFamilyToArial();
129 void SetFontFamilyToCourier();
130 void SetFontFamilyToTimes();
131 static int GetFontFamilyFromString(
const char* f);
132 static const char* GetFontFamilyAsString(
int f);
150 vtkGetMacro(FontSize,
int);
185 vtkSetVector2Macro(ShadowOffset,
int);
186 vtkGetVectorMacro(ShadowOffset,
int, 2);
200 vtkGetMacro(Justification,
int);
204 const char* GetJustificationAsString();
213 vtkGetMacro(VerticalJustification,
int);
217 const char* GetVerticalJustificationAsString();
236 vtkSetMacro(Orientation,
double);
237 vtkGetMacro(Orientation,
double);
245 vtkSetMacro(LineSpacing,
double);
246 vtkGetMacro(LineSpacing,
double);
253 vtkSetMacro(LineOffset,
double);
254 vtkGetMacro(LineOffset,
double);
262 vtkSetMacro(CellOffset,
double);
263 vtkGetMacro(CellOffset,
double);
271 vtkSetMacro(InteriorLinesVisibility,
bool);
272 vtkGetMacro(InteriorLinesVisibility,
bool);
280 vtkSetMacro(InteriorLinesWidth,
int);
281 vtkGetMacro(InteriorLinesWidth,
int);
289 vtkSetVector3Macro(InteriorLinesColor,
double);
290 vtkGetVector3Macro(InteriorLinesColor,
double);
304 double BackgroundColor[3];
307 double FrameColor[3];
323 bool InteriorLinesVisibility =
false;
324 int InteriorLinesWidth = 1;
325 double InteriorLinesColor[3] = { 0.0, 0.0, 0.0 };
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.
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.