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