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();
151 vtkGetMacro(Width,
float);
183 void operator=(const
vtkPen &) VTK_DELETE_FUNCTION;
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.
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...