FontService is a static class with static methods for working with fonts.
More...
FontService is a static class with static methods for working with fonts.
◆ changeFontFamily()
static Font com.spvessel.spacevil.FontService.changeFontFamily |
( |
String |
fontFamily, |
|
|
Font |
oldFont |
|
) |
| |
|
static |
Changing font family.
- Parameters
-
fontFamily | New font family of the font. |
oldFont | Font as java.awt.Font. |
- Returns
- New font as java.awt.Font.
◆ changeFontSize()
static Font com.spvessel.spacevil.FontService.changeFontSize |
( |
int |
size, |
|
|
Font |
oldFont |
|
) |
| |
|
static |
Changing font size.
- Parameters
-
size | New size of the font. |
oldFont | Font as java.awt.Font. |
- Returns
- New sized font as java.awt.Font.
◆ changeFontStyle()
static Font com.spvessel.spacevil.FontService.changeFontStyle |
( |
int |
style, |
|
|
Font |
oldFont |
|
) |
| |
|
static |
Changing font style.
- Parameters
-
style | New style of the font. |
oldFont | Font as java.awt.Font. |
- Returns
- New styled font as java.awt.Font.
The documentation for this class was generated from the following file: