35 #include "vtkRenderingContext2DModule.h" 61 void SetLineType(
int type);
72 void SetColorF(
double color[3]);
78 void SetColorF(
double r,
double g,
double b);
84 void SetColorF(
double r,
double g,
double b,
double a);
90 void SetOpacityF(
double a);
96 void SetColor(
unsigned char color[3]);
102 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b);
109 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
118 void SetOpacity(
unsigned char a);
123 void GetColorF(
double color[3]);
128 void GetColor(
unsigned char color[3]);
139 unsigned char GetOpacity();
150 vtkSetMacro(Width,
float);
151 vtkGetMacro(Width,
float);
157 void DeepCopy(
vtkPen *pen);
183 void operator=(
const vtkPen &) =
delete;
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float Width
Store the width of the pen in pixels.
unsigned char * GetColor()
Get the color of the brush - gives a pointer to the underlying data.
a simple class to control print indentation
vtkColor4ub PenColor
Storage of the color in RGBA format (0-255 per channel).
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
unsigned char * Color
Storage of the color in RGBA format (0-255 per channel).
int LineType
The type of line to be drawn with this pen.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...