 |
VTK
9.0.1
|
Go to the documentation of this file.
34 #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,
unsigned char a);
117 void SetOpacity(
unsigned char a);
122 void GetColorF(
double color[3]);
127 void GetColor(
unsigned char color[3]);
138 unsigned char GetOpacity();
149 vtkSetMacro(Width,
float);
150 vtkGetMacro(Width,
float);
156 void DeepCopy(
vtkPen* pen);
182 void operator=(
const vtkPen&) =
delete;
float Width
Store the width of the pen in pixels.
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.
abstract base class for most VTK objects
unsigned char * GetColor()
Get the color of the brush - gives a pointer to the underlying data.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned char * Color
Storage of the color in RGBA format (0-255 per channel).
provides a pen that draws the outlines of shapes drawn by vtkContext2D.