27 #ifndef vtkTextProperty_h 28 #define vtkTextProperty_h 30 #include "vtkRenderingCoreModule.h" 49 vtkSetVector3Macro(
Color,
double);
50 vtkGetVector3Macro(
Color,
double);
58 vtkSetClampMacro(Opacity,
double, 0., 1.);
59 vtkGetMacro(Opacity,
double);
66 vtkSetVector3Macro(BackgroundColor,
double);
67 vtkGetVector3Macro(BackgroundColor,
double);
75 vtkSetClampMacro(BackgroundOpacity,
double, 0., 1.);
76 vtkGetMacro(BackgroundOpacity,
double);
83 vtkSetVector3Macro(FrameColor,
double);
84 vtkGetVector3Macro(FrameColor,
double);
102 vtkGetMacro(FrameWidth,
int);
112 vtkGetStringMacro(FontFamilyAsString);
113 vtkSetStringMacro(FontFamilyAsString);
114 void SetFontFamily(
int t);
117 void SetFontFamilyToArial();
118 void SetFontFamilyToCourier();
119 void SetFontFamilyToTimes();
120 static int GetFontFamilyFromString(
const char *f );
121 static const char *GetFontFamilyAsString(
int f );
130 vtkGetStringMacro(FontFile)
131 vtkSetStringMacro(FontFile)
139 vtkGetMacro(FontSize,
int);
174 vtkSetVector2Macro(ShadowOffset,
int);
175 vtkGetVectorMacro(ShadowOffset,
int,2);
181 void GetShadowColor(
double color[3]);
189 vtkGetMacro(Justification,
int);
196 const char *GetJustificationAsString();
205 vtkGetMacro(VerticalJustification,
int);
212 const char *GetVerticalJustificationAsString();
231 vtkSetMacro(Orientation,
double);
232 vtkGetMacro(Orientation,
double);
240 vtkSetMacro(LineSpacing,
double);
241 vtkGetMacro(LineSpacing,
double);
248 vtkSetMacro(LineOffset,
double);
249 vtkGetMacro(LineOffset,
double);
263 double BackgroundColor[3];
266 double FrameColor[3];
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.
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.
int GetFontFamilyMinValue()
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.
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.