83#include "vtkRenderingContext2DModule.h"
86VTK_ABI_NAMESPACE_BEGIN
102 void SetColorF(
double color[3]);
109 void SetColorF(
double r,
double g,
double b);
116 void SetColorF(
double r,
double g,
double b,
double a);
123 void SetOpacityF(
double a);
129 double GetOpacityF();
135 void SetColor(
unsigned char color[3]);
141 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b);
149 void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a);
157 void SetOpacity(
unsigned char a);
162 unsigned char GetOpacity();
168 void GetColorF(
double color[4]);
173 void GetColor(
unsigned char color[4]);
179 unsigned char* GetColor() {
return &this->Color[0]; }
220 vtkSetMacro(TextureProperties,
int);
227 vtkGetMacro(TextureProperties,
int);
247 void operator=(
const vtkBrush&) =
delete;
provides a brush that fills shapes drawn by vtkContext2D.
void SetTexture(vtkImageData *image)
Set the texture that will be used to fill polygons By default, no texture is set.
vtkColor4ub GetColorObject()
Get the color of the brush.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
TextureProperty
Texture properties.
void DeepCopy(vtkBrush *brush)
Make a deep copy of the supplied brush.
topologically and geometrically regular array of data
a simple class to control print indentation
abstract base class for most VTK objects
#define VTK_MARSHAL_EXCLUDE_REASON_IS_REDUNDANT
#define VTK_MARSHALEXCLUDE(reason)