74#include "vtkRenderingContext2DModule.h"
77VTK_ABI_NAMESPACE_BEGIN
115 void SetColorF(
double color[3]);
122 void SetColorF(
double r,
double g,
double b);
129 void SetColorF(
double r,
double g,
double b,
double a);
136 void SetOpacityF(
double a);
142 void SetColor(
unsigned char color[3]);
148 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b);
156 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a);
164 void SetOpacity(
unsigned char a);
170 void GetColorF(
double color[3]);
175 void GetColor(
unsigned char color[3]);
186 unsigned char GetOpacity();
192 unsigned char* GetColor() {
return this->Color; }
198 vtkSetMacro(Width,
float);
199 vtkGetMacro(Width,
float);
231 void operator=(
const vtkPen&) =
delete;
a simple class to control print indentation
abstract base class for most VTK objects
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
float Width
Store the width of the pen in pixels.
unsigned char * Color
Storage of the color in RGBA format (0-255 per channel).
void SetLineType(int type)
Set the type of line that the pen should draw.
vtkColor4ub PenColor
Storage of the color in RGBA format (0-255 per channel).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int LineType
The type of line to be drawn with this pen.
void DeepCopy(vtkPen *pen)
Make a deep copy of the supplied pen.
int GetLineType()
Get the type of line that the pen will draw.
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
#define VTK_MARSHALEXCLUDE(reason)