FontService is a static class with static methods for working with colors, shapes and images.
More...
FontService is a static class with static methods for working with colors, shapes and images.
◆ ChangeFontFamily()
static Font SpaceVIL.FontService.ChangeFontFamily |
( |
FontFamily |
fontFamily, |
|
|
Font |
oldFont |
|
) |
| |
|
static |
Changing font family.
- Parameters
-
fontFamily | New font family of the font. |
oldFont | Font as System.Drawing.Font. |
- Returns
- New font as System.Drawing.Font.
◆ ChangeFontSize()
static Font SpaceVIL.FontService.ChangeFontSize |
( |
int |
size, |
|
|
Font |
oldFont |
|
) |
| |
|
static |
Changing font size.
- Parameters
-
size | New size of the font. |
oldFont | Font as System.Drawing.Font. |
- Returns
- New sized font as System.Drawing.Font.
◆ ChangeFontStyle()
static Font SpaceVIL.FontService.ChangeFontStyle |
( |
FontStyle |
style, |
|
|
Font |
oldFont |
|
) |
| |
|
static |
Changing font style.
- Parameters
-
style | New style of the font. |
oldFont | Font as System.Drawing.Font. |
- Returns
- New styled font as System.Drawing.Font.
The documentation for this class was generated from the following file: