#include <vtkTextProperty.h>
Inheritance diagram for vtkTextProperty:
vtkTextProperty is an object that represents text properties. The primary properties that can be set are color, opacity, font size, font family horizontal and vertical justification, bold/italic/shadow styles.
Definition at line 37 of file vtkTextProperty.h.
virtual void | SetColor (double, double, double) |
virtual void | SetColor (double[3]) |
virtual double * | GetColor () |
virtual void | GetColor (double &, double &, double &) |
virtual void | GetColor (double[3]) |
static vtkTextProperty * | New () |
virtual void | SetFontFamily (int) |
virtual int | GetFontFamily () |
void | SetFontFamilyToArial () |
void | SetFontFamilyToCourier () |
void | SetFontFamilyToTimes () |
char * | GetFontFamilyAsString () |
static char * | GetFontFamilyAsString (int f) |
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ShallowCopy (vtkTextProperty *tprop) |
virtual void | SetOpacity (double) |
virtual double | GetOpacity () |
virtual void | SetFontSize (int) |
virtual int | GetFontSize () |
virtual void | SetBold (int) |
virtual int | GetBold () |
virtual void | BoldOn () |
virtual void | BoldOff () |
virtual void | SetItalic (int) |
virtual int | GetItalic () |
virtual void | ItalicOn () |
virtual void | ItalicOff () |
virtual void | SetShadow (int) |
virtual int | GetShadow () |
virtual void | ShadowOn () |
virtual void | ShadowOff () |
virtual void | SetShadowOffset (int, int) |
void | SetShadowOffset (int[2]) |
virtual int * | GetShadowOffset () |
virtual void | GetShadowOffset (int data[2]) |
void | GetShadowColor (double color[3]) |
virtual void | SetJustification (int) |
virtual int | GetJustification () |
void | SetJustificationToLeft () |
void | SetJustificationToCentered () |
void | SetJustificationToRight () |
char * | GetJustificationAsString () |
virtual void | SetVerticalJustification (int) |
virtual int | GetVerticalJustification () |
void | SetVerticalJustificationToBottom () |
void | SetVerticalJustificationToCentered () |
void | SetVerticalJustificationToTop () |
char * | GetVerticalJustificationAsString () |
virtual void | SetOrientation (double) |
virtual double | GetOrientation () |
virtual void | SetLineSpacing (double) |
virtual double | GetLineSpacing () |
virtual void | SetLineOffset (double) |
virtual double | GetLineOffset () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkTextProperty * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTextProperty () | |
~vtkTextProperty () | |
Protected Attributes | |
double | Color [3] |
double | Opacity |
int | FontFamily |
int | FontSize |
int | Bold |
int | Italic |
int | Shadow |
int | ShadowOffset [2] |
int | Justification |
int | VerticalJustification |
double | Orientation |
double | LineOffset |
double | LineSpacing |
|
Reimplemented from vtkObject. Definition at line 40 of file vtkTextProperty.h. |
|
|
|
Definition at line 161 of file vtkTextProperty.h. |
|
Reimplemented from vtkObject. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. |
|
Creates a new text property with font size 12, bold off, italic off, and Arial font. Reimplemented from vtkObject. |
|
Set the color of the text. |
|
Set the color of the text. |
|
Set the color of the text. |
|
Set the color of the text. |
|
Set the color of the text. |
|
Set/Get the text's opacity. 1.0 is totally opaque and 0.0 is completely transparent. |
|
Set/Get the text's opacity. 1.0 is totally opaque and 0.0 is completely transparent. |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). Definition at line 65 of file vtkTextProperty.h. References VTK_ARIAL. |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). Definition at line 66 of file vtkTextProperty.h. References VTK_COURIER. |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). Definition at line 67 of file vtkTextProperty.h. References VTK_TIMES. |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). Definition at line 199 of file vtkTextProperty.h. |
|
Set/Get the font family. Three font types are allowed: Arial (VTK_ARIAL), Courier (VTK_COURIER), and Times (VTK_TIMES). Definition at line 182 of file vtkTextProperty.h. References VTK_ARIAL, VTK_COURIER, and VTK_TIMES. |
|
Set/Get the font size (in points). |
|
Set/Get the font size (in points). |
|
Enable/disable text bolding. |
|
Enable/disable text bolding. |
|
Enable/disable text bolding. |
|
Enable/disable text bolding. |
|
Enable/disable text italic. |
|
Enable/disable text italic. |
|
Enable/disable text italic. |
|
Enable/disable text italic. |
|
Enable/disable text shadow. |
|
Enable/disable text shadow. |
|
Enable/disable text shadow. |
|
Enable/disable text shadow. |
|
Set/Get the shadow offset, i.e. the distance from the text to its shadow, in the same unit as FontSize. |
|
Set/Get the shadow offset, i.e. the distance from the text to its shadow, in the same unit as FontSize. |
|
Set/Get the shadow offset, i.e. the distance from the text to its shadow, in the same unit as FontSize. |
|
Set/Get the shadow offset, i.e. the distance from the text to its shadow, in the same unit as FontSize. |
|
Get the shadow color. It is computed from the Color ivar |
|
Set/Get the horizontal justification to left (default), centered, or right. |
|
Get the shadow color. It is computed from the Color ivar |
|
Get the shadow color. It is computed from the Color ivar Definition at line 114 of file vtkTextProperty.h. References VTK_TEXT_LEFT. |
|
Get the shadow color. It is computed from the Color ivar Definition at line 116 of file vtkTextProperty.h. References VTK_TEXT_CENTERED. |
|
Get the shadow color. It is computed from the Color ivar Definition at line 118 of file vtkTextProperty.h. References VTK_TEXT_RIGHT. |
|
Get the shadow color. It is computed from the Color ivar Definition at line 204 of file vtkTextProperty.h. References VTK_TEXT_CENTERED, VTK_TEXT_LEFT, and VTK_TEXT_RIGHT. |
|
Set/Get the vertical justification to bottom (default), middle, or top. |
|
Set/Get the vertical justification to bottom (default), middle, or top. |
|
Set/Get the vertical justification to bottom (default), middle, or top. Definition at line 128 of file vtkTextProperty.h. References VTK_TEXT_BOTTOM. |
|
Set/Get the vertical justification to bottom (default), middle, or top. Definition at line 130 of file vtkTextProperty.h. References VTK_TEXT_CENTERED. |
|
Set/Get the vertical justification to bottom (default), middle, or top. Definition at line 132 of file vtkTextProperty.h. References VTK_TEXT_TOP. |
|
Set/Get the vertical justification to bottom (default), middle, or top. Definition at line 221 of file vtkTextProperty.h. References VTK_TEXT_BOTTOM, VTK_TEXT_CENTERED, and VTK_TEXT_TOP. |
|
Set/Get the text's orientation (in degrees). |
|
Set/Get the text's orientation (in degrees). |
|
Set/Get the (extra) spacing between lines, expressed as a text height multiplication factor. |
|
Set/Get the (extra) spacing between lines, expressed as a text height multiplication factor. |
|
Set/Get the vertical offset (measured in pixels). |
|
Set/Get the vertical offset (measured in pixels). |
|
Shallow copy of a text property. |
|
Definition at line 161 of file vtkTextProperty.h. |
|
Definition at line 164 of file vtkTextProperty.h. |
|
Definition at line 165 of file vtkTextProperty.h. |
|
Definition at line 166 of file vtkTextProperty.h. |
|
Definition at line 167 of file vtkTextProperty.h. |
|
Definition at line 168 of file vtkTextProperty.h. |
|
Definition at line 169 of file vtkTextProperty.h. |
|
Definition at line 170 of file vtkTextProperty.h. |
|
Definition at line 171 of file vtkTextProperty.h. |
|
Definition at line 172 of file vtkTextProperty.h. |
|
Definition at line 173 of file vtkTextProperty.h. |
|
Definition at line 174 of file vtkTextProperty.h. |
|
Definition at line 175 of file vtkTextProperty.h. |