18 #ifndef vtkTextProperty_h
19 #define vtkTextProperty_h
22 #include "vtkRenderingCoreModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
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);
103 vtkGetMacro(Frame, vtkTypeBool);
104 vtkBooleanMacro(Frame, vtkTypeBool);
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);
141 vtkGetFilePathMacro(FontFile);
142 vtkSetFilePathMacro(FontFile);
150 vtkGetMacro(FontSize,
int);
185 vtkSetVector2Macro(ShadowOffset,
int);
186 vtkGetVectorMacro(ShadowOffset,
int, 2);
192 void GetShadowColor(
double color[3]);
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 };
433 VTK_ABI_NAMESPACE_END
void SetFontFamilyToArial()
Set/Get the font family.
void SetJustificationToRight()
Set/Get the horizontal justification to left (default), centered, or right.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetVerticalJustificationToTop()
Set/Get the vertical justification to bottom (default), middle, or top.
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
char * FontFamilyAsString
void SetVerticalJustificationToBottom()
Set/Get the vertical justification to bottom (default), middle, or top.
void SetVerticalJustificationToCentered()
Set/Get the vertical justification to bottom (default), middle, or top.
#define VTK_TEXT_CENTERED
virtual void SetFontFamilyAsString(const char *)
Set/Get the font family.
a simple class to control print indentation
int GetFontFamily()
Set/Get the font family.
void SetJustificationToLeft()
Set/Get the horizontal justification to left (default), centered, or right.
represent text properties.
void SetFontFamilyToCourier()
Set/Get the font family.
#define VTK_MARSHALEXCLUDE(reason)
vtkTypeBool UseTightBoundingBox
static int GetFontFamilyFromString(const char *f)
Set/Get the font family.
virtual char * GetFontFamilyAsString()
Set/Get the font family.
int VerticalJustification
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
const char * GetVerticalJustificationAsString()
Set/Get the vertical justification to bottom (default), middle, or top.
void SetFontFamilyToTimes()
Set/Get the font family.
void SetJustificationToCentered()
Set/Get the horizontal justification to left (default), centered, or right.
void SetFontFamily(int t)
Set/Get the font family.
const char * GetJustificationAsString()
Set/Get the horizontal justification to left (default), centered, or right.