25 #include "vtkRenderingContext2DModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
53 void SetLineType(
int type);
64 void SetColorF(
double color[3]);
70 void SetColorF(
double r,
double g,
double b);
76 void SetColorF(
double r,
double g,
double b,
double a);
82 void SetOpacityF(
double a);
88 void SetColor(
unsigned char color[3]);
94 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b);
101 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a);
109 void SetOpacity(
unsigned char a);
114 void GetColorF(
double color[3]);
119 void GetColor(
unsigned char color[3]);
130 unsigned char GetOpacity();
141 vtkSetMacro(Width,
float);
142 vtkGetMacro(Width,
float);
148 void DeepCopy(
vtkPen* pen);
174 void operator=(
const vtkPen&) =
delete;
177 VTK_ABI_NAMESPACE_END
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...