27 #ifndef vtkTextProperty_h
28 #define vtkTextProperty_h
31 #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);
193 const char* GetJustificationAsString();
202 vtkGetMacro(VerticalJustification,
int);
206 const char* GetVerticalJustificationAsString();
225 vtkSetMacro(Orientation,
double);
226 vtkGetMacro(Orientation,
double);
234 vtkSetMacro(LineSpacing,
double);
235 vtkGetMacro(LineSpacing,
double);
242 vtkSetMacro(LineOffset,
double);
243 vtkGetMacro(LineOffset,
double);
257 double BackgroundColor[3];
260 double FrameColor[3];