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

Pen. More...

Collaboration diagram for eVision.EPen:

Public Member Functions

 EPen (eVision.ERGBColor color, int width, eVision.EPenStyle style)
 Constructs an EPen.
 EPen (eVision.ERGBColor color, int width)
 Constructs an EPen.
 EPen (eVision.ERGBColor color)
 Constructs an EPen.
 EPen (eVision.ERGBColor color, float opacity, int width, eVision.EPenStyle style)
 Constructs an EPen.
 EPen (eVision.ERGBColor color, float opacity, int width)
 Constructs an EPen.
 EPen (eVision.ERGBColor color, float opacity)
 Constructs an EPen.
 EPen (eVision.EBrush brush, int width, eVision.EPenStyle style)
 Constructs an EPen.
 EPen (eVision.EBrush brush, int width)
 Constructs an EPen.
 EPen (eVision.EBrush brush)
 Constructs an EPen.
bool IsValid ()
 Whether the pen is valid, i.e. when its brush is valid and its width is bigger than 0.
void Serialize (eVision.ESerializer serializer)
 Serializes the EPen.
void Load (string path)
 Loads the EPen. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads the EPen. The given ESerializer must have been created for reading.
void Save (string path)
 Saves the EPen. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves the EPen. The given ESerializer must have been created for writing.

Static Public Member Functions

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

Public Attributes

eVision.EBrush Brush
 Brush used to draw the content of the pen.
int Width
 Width of the pen.
eVision.EPenStyle Style
 Style of the pen.

Detailed Description

Pen.

License(s): None

Constructor & Destructor Documentation

◆ EPen() [1/9]

eVision.EPen.EPen ( eVision.ERGBColor color,
int width,
eVision.EPenStyle style )

Constructs an EPen.

Parameters
colorColor of the pen.
widthWidth of the pen.
styleStyle of the pen.

◆ EPen() [2/9]

eVision.EPen.EPen ( eVision.ERGBColor color,
int width )

Constructs an EPen.

Parameters
colorColor of the pen.
widthWidth of the pen.

◆ EPen() [3/9]

eVision.EPen.EPen ( eVision.ERGBColor color)

Constructs an EPen.

Parameters
colorColor of the pen.

◆ EPen() [4/9]

eVision.EPen.EPen ( eVision.ERGBColor color,
float opacity,
int width,
eVision.EPenStyle style )

Constructs an EPen.

Parameters
colorColor of the pen.
opacityopacity of the pen.
widthWidth of the pen.
styleStyle of the pen.

◆ EPen() [5/9]

eVision.EPen.EPen ( eVision.ERGBColor color,
float opacity,
int width )

Constructs an EPen.

Parameters
colorColor of the pen.
opacityopacity of the pen.
widthWidth of the pen.

◆ EPen() [6/9]

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

Constructs an EPen.

Parameters
colorColor of the pen.
opacityopacity of the pen.

◆ EPen() [7/9]

eVision.EPen.EPen ( eVision.EBrush brush,
int width,
eVision.EPenStyle style )

Constructs an EPen.

Parameters
brushBrush of the pen.
widthWidth of the pen.
styleStyle of the pen.

◆ EPen() [8/9]

eVision.EPen.EPen ( eVision.EBrush brush,
int width )

Constructs an EPen.

Parameters
brushBrush of the pen.
widthWidth of the pen.

◆ EPen() [9/9]

eVision.EPen.EPen ( eVision.EBrush brush)

Constructs an EPen.

Parameters
brushBrush of the pen.

Member Function Documentation

◆ IsValid()

bool eVision.EPen.IsValid ( )

Whether the pen is valid, i.e. when its brush is valid and its width is bigger than 0.

◆ Load() [1/2]

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

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

Parameters
serializerThe serializer.

◆ Load() [2/2]

void eVision.EPen.Load ( string path)

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

Parameters
pathThe file path.

◆ operator!=()

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

Inequality operator.

Parameters
otherOther pen to compare with.

◆ operator==()

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

Equality operator.

Parameters
otherOther pen to compare with.

◆ Save() [1/2]

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

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

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.EPen.Save ( string path)

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

Parameters
pathThe file path.

◆ Serialize()

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

Serializes the EPen.

Parameters
serializerSerializer
Deprecated

Use EPen.Save or EPen.Load instead.

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

Member Data Documentation

◆ Brush

eVision.EBrush eVision.EPen.Brush

Brush used to draw the content of the pen.

◆ Style

eVision.EPenStyle eVision.EPen.Style

Style of the pen.

◆ Width

int eVision.EPen.Width

Width of the pen.