33 #ifndef vtkTextProperty_h
34 #define vtkTextProperty_h
36 #include "vtkRenderingCoreModule.h"
55 vtkSetVector3Macro(
Color,
double);
56 vtkGetVector3Macro(
Color,
double);
64 vtkSetClampMacro(Opacity,
double, 0., 1.);
65 vtkGetMacro(Opacity,
double);
72 vtkSetVector3Macro(BackgroundColor,
double);
73 vtkGetVector3Macro(BackgroundColor,
double);
81 vtkSetClampMacro(BackgroundOpacity,
double, 0., 1.);
82 vtkGetMacro(BackgroundOpacity,
double);
89 vtkSetVector3Macro(FrameColor,
double);
90 vtkGetVector3Macro(FrameColor,
double);
108 vtkGetMacro(FrameWidth,
int);
118 vtkGetStringMacro(FontFamilyAsString);
119 vtkSetStringMacro(FontFamilyAsString);
120 void SetFontFamily(
int t);
123 void SetFontFamilyToArial();
124 void SetFontFamilyToCourier();
125 void SetFontFamilyToTimes();
126 static int GetFontFamilyFromString(
const char *f );
127 static const char *GetFontFamilyAsString(
int f );
136 vtkGetStringMacro(FontFile)
137 vtkSetStringMacro(FontFile)
145 vtkGetMacro(FontSize,
int);
180 vtkSetVector2Macro(ShadowOffset,
int);
181 vtkGetVectorMacro(ShadowOffset,
int,2);
187 void GetShadowColor(
double color[3]);
195 vtkGetMacro(Justification,
int);
202 const char *GetJustificationAsString();
211 vtkGetMacro(VerticalJustification,
int);
218 const char *GetVerticalJustificationAsString();
237 vtkSetMacro(Orientation,
double);
238 vtkGetMacro(Orientation,
double);
246 vtkSetMacro(LineSpacing,
double);
247 vtkGetMacro(LineSpacing,
double);
254 vtkSetMacro(LineOffset,
double);
255 vtkGetMacro(LineOffset,
double);
269 double BackgroundColor[3];
272 double FrameColor[3];