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];