Brush. More...

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. | |
Brush.
License(s): None
| eVision.EBrush.EBrush | ( | eVision.ERGBColor | color, |
| float | opacity ) |
Constructs an EBrush.
| color | Brush color |
| opacity | Brush opacity |
| eVision.EBrush.EBrush | ( | eVision.ERGBColor | color | ) |
Constructs an EBrush.
| color | Brush color |
| bool eVision.EBrush.IsValid | ( | ) |
Whether the brush is valid, i.e. when its color is defined.
| void eVision.EBrush.Load | ( | eVision.ESerializer | serializer | ) |
Loads the EBrush. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| void eVision.EBrush.Load | ( | string | path | ) |
Loads the EBrush. The given ESerializer must have been created for reading.
| path | The file path. |
|
static |
Inequality operator.
| other | Other brush to compare with. |
|
static |
Equality operator.
| other | Other brush to compare with. |
| void eVision.EBrush.Save | ( | eVision.ESerializer | serializer | ) |
Saves the EBrush. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| void eVision.EBrush.Save | ( | string | path | ) |
Saves the EBrush. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision.EBrush.Serialize | ( | eVision.ESerializer | serializer | ) |
Serializes the EBrush.
| serializer | Serializer |
Use EBrush.Save or EBrush.Load instead.
Deprecated in version 24.10. Scheduled to be removed in version 27.6.
| eVision.ERGBColor eVision.EBrush.Color |
Color of the brush.
| float eVision.EBrush.Opacity |
Opacity of the brush.