32 #include "vtkRenderingContext2DModule.h" 58 void SetLineType(
int type);
69 void SetColorF(
double color[3]);
75 void SetColorF(
double r,
double g,
double b);
81 void SetColorF(
double r,
double g,
double b,
double a);
87 void SetOpacityF(
double a);
93 void SetColor(
unsigned char color[3]);
99 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b);
106 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
115 void SetOpacity(
unsigned char a);
120 void GetColorF(
double color[3]);
125 void GetColor(
unsigned char color[3]);
136 unsigned char GetOpacity();
148 vtkGetMacro(Width,
float);
154 void DeepCopy(
vtkPen *pen);
180 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.
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...