Font. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a eVision.EFont. | |
| None | __init__ (self, str fontFamily, int pointSize, eVision.EFontStyle style) |
| Constructs a eVision.EFont. | |
| None | __init__ (self, str fontFamily, int pointSize) |
| Constructs a eVision.EFont. | |
| None | __init__ (self, eVision.EFont other) |
| Constructs a eVision.EFont. | |
| bool | IsValid (self) |
| Whether the font is valid (Size != 0 and Family defined). | |
| None | Serialize (self, eVision.ESerializer|None serializer) |
| Serializes the eVision.EFont. | |
| None | Load (self, str path) |
| Loads the eVision.EFont. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.EFont. | |
| None | Save (self, str path) |
| Saves the eVision.EFont. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.EFont. | |
| str | Family (self) |
| Font family name. | |
| Family (self, str value) | |
| Font family name. | |
| int | Size (self) |
| Size of the font. | |
| Size (self, int value) | |
| Size of the font. | |
| eVision.EFontStyle | Style (self) |
| Font style. | |
| Style (self, eVision.EFontStyle value) | |
| Font style. | |
Font.
Remarks:
License(s): None
| None eVision.EFont.__init__ | ( | self | ) |
Constructs a eVision.EFont.
| None eVision.EFont.__init__ | ( | self, | |
| str | fontFamily, | ||
| int | pointSize, | ||
| eVision.EFontStyle | style ) |
Constructs a eVision.EFont.
| fontFamily | Font family |
| pointSize | Font size |
| style | Font style |
| None eVision.EFont.__init__ | ( | self, | |
| str | fontFamily, | ||
| int | pointSize ) |
Constructs a eVision.EFont.
| fontFamily | Font family |
| pointSize | Font size |
| None eVision.EFont.__init__ | ( | self, | |
| eVision.EFont | other ) |
Constructs a eVision.EFont.
| other | The other eVision.EFont that will be copied into this one. |
| str eVision.EFont.Family | ( | self | ) |
Font family name.
| eVision.EFont.Family | ( | self, | |
| str | value ) |
Font family name.
| bool eVision.EFont.IsValid | ( | self | ) |
Whether the font is valid (Size != 0 and Family defined).
| None eVision.EFont.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.EFont.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.EFont.Load | ( | self, | |
| str | path ) |
Loads the eVision.EFont.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| None eVision.EFont.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.EFont.
The given eVision.ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.EFont.Save | ( | self, | |
| str | path ) |
Saves the eVision.EFont.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| None eVision.EFont.Serialize | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Serializes the eVision.EFont.
Use eVision.EFont.Save or eVision.EFont.Load instead.
Deprecated in version 24.10. Scheduled to be removed in version 27.6.
| serializer | Serializer |
| int eVision.EFont.Size | ( | self | ) |
Size of the font.
| eVision.EFont.Size | ( | self, | |
| int | value ) |
Size of the font.
| eVision.EFontStyle eVision.EFont.Style | ( | self | ) |
Font style.
| eVision.EFont.Style | ( | self, | |
| eVision.EFontStyle | value ) |
Font style.