vtkTextProperty

Section: Visualization Toolkit Rendering Classes

Usage

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.

To create an instance of class vtkTextProperty, simply invoke its constructor as follows

  obj = vtkTextProperty

Methods

The class vtkTextProperty has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkTextProperty class.