Brush. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs an eVision.EBrush. | |
| None | __init__ (self, eVision.ERGBColor color, float opacity) |
| Constructs an eVision.EBrush. | |
| None | __init__ (self, eVision.ERGBColor color) |
| Constructs an eVision.EBrush. | |
| None | __init__ (self, eVision.EBrush other) |
| bool | IsValid (self) |
| Whether the brush is valid, i.e. | |
| None | Serialize (self, eVision.ESerializer|None serializer) |
| Serializes the eVision.EBrush. | |
| None | Load (self, str path) |
| Loads the eVision.EBrush. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.EBrush. | |
| None | Save (self, str path) |
| Saves the eVision.EBrush. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.EBrush. | |
| eVision.ERGBColor | Color (self) |
| Color of the brush. | |
| Color (self, eVision.ERGBColor value) | |
| Color of the brush. | |
| float | Opacity (self) |
| Opacity of the brush. | |
| Opacity (self, float value) | |
| Opacity of the brush. | |
Brush.
Remarks:
License(s): None
| None eVision.EBrush.__init__ | ( | self | ) |
Constructs an eVision.EBrush.
| None eVision.EBrush.__init__ | ( | self, | |
| eVision.ERGBColor | color, | ||
| float | opacity ) |
Constructs an eVision.EBrush.
| color | Brush color |
| opacity | Brush opacity |
| None eVision.EBrush.__init__ | ( | self, | |
| eVision.ERGBColor | color ) |
Constructs an eVision.EBrush.
| color | Brush color |
| None eVision.EBrush.__init__ | ( | self, | |
| eVision.EBrush | other ) |
| other | Other instance |
| eVision.ERGBColor eVision.EBrush.Color | ( | self | ) |
Color of the brush.
| eVision.EBrush.Color | ( | self, | |
| eVision.ERGBColor | value ) |
Color of the brush.
| bool eVision.EBrush.IsValid | ( | self | ) |
Whether the brush is valid, i.e.
when its color is defined.
| None eVision.EBrush.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.EBrush.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.EBrush.Load | ( | self, | |
| str | path ) |
Loads the eVision.EBrush.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| float eVision.EBrush.Opacity | ( | self | ) |
Opacity of the brush.
| eVision.EBrush.Opacity | ( | self, | |
| float | value ) |
Opacity of the brush.
| None eVision.EBrush.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.EBrush.
The given eVision.ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.EBrush.Save | ( | self, | |
| str | path ) |
Saves the eVision.EBrush.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| None eVision.EBrush.Serialize | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Serializes the eVision.EBrush.
Use eVision.EBrush.Save or eVision.EBrush.Load instead.
Deprecated in version 24.10. Scheduled to be removed in version 27.6.
| serializer | Serializer |