Font. More...


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