eVision .NET API
Loading...
Searching...
No Matches
eVision.EBrush Struct Reference

Brush. More...

Collaboration diagram for eVision.EBrush:

Public Member Functions

 EBrush (eVision.ERGBColor color, float opacity)
 Constructs an EBrush.
 EBrush (eVision.ERGBColor color)
 Constructs an EBrush.
bool IsValid ()
 Whether the brush is valid, i.e. when its color is defined.
void Serialize (eVision.ESerializer serializer)
 Serializes the EBrush.
void Load (string path)
 Loads the EBrush. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads the EBrush. The given ESerializer must have been created for reading.
void Save (string path)
 Saves the EBrush. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves the EBrush. The given ESerializer must have been created for writing.

Static Public Member Functions

static bool operator== (eVision.EBrush extraArgument, eVision.EBrush other)
 Equality operator.
static bool operator!= (eVision.EBrush extraArgument, eVision.EBrush other)
 Inequality operator.

Public Attributes

eVision.ERGBColor Color
 Color of the brush.
float Opacity
 Opacity of the brush.

Detailed Description

Brush.

License(s): None

Constructor & Destructor Documentation

◆ EBrush() [1/2]

eVision.EBrush.EBrush ( eVision.ERGBColor color,
float opacity )

Constructs an EBrush.

Parameters
colorBrush color
opacityBrush opacity

◆ EBrush() [2/2]

eVision.EBrush.EBrush ( eVision.ERGBColor color)

Constructs an EBrush.

Parameters
colorBrush color

Member Function Documentation

◆ IsValid()

bool eVision.EBrush.IsValid ( )

Whether the brush is valid, i.e. when its color is defined.

◆ Load() [1/2]

void eVision.EBrush.Load ( eVision.ESerializer serializer)

Loads the EBrush. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.EBrush.Load ( string path)

Loads the EBrush. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ operator!=()

bool eVision.EBrush.operator!= ( eVision.EBrush extraArgument,
eVision.EBrush other )
static

Inequality operator.

Parameters
otherOther brush to compare with.

◆ operator==()

bool eVision.EBrush.operator== ( eVision.EBrush extraArgument,
eVision.EBrush other )
static

Equality operator.

Parameters
otherOther brush to compare with.

◆ Save() [1/2]

void eVision.EBrush.Save ( eVision.ESerializer serializer)

Saves the EBrush. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.EBrush.Save ( string path)

Saves the EBrush. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Serialize()

void eVision.EBrush.Serialize ( eVision.ESerializer serializer)

Serializes the EBrush.

Parameters
serializerSerializer
Deprecated

Use EBrush.Save or EBrush.Load instead.

Deprecated in version 24.10. Scheduled to be removed in version 27.6.

Member Data Documentation

◆ Color

eVision.ERGBColor eVision.EBrush.Color

Color of the brush.

◆ Opacity

float eVision.EBrush.Opacity

Opacity of the brush.