public final class FontStyle extends Object
Represents a font style.
| Modifier and Type | Field and Description |
|---|---|
static int |
Bold
Bold text.
|
static int |
Italic
Italic text.
|
static int |
Regular
Normal text.
|
static int |
Strikeout
Text with a line through the middle.
|
static int |
Underline
Underlined text.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
parse(String value)
Parses a string to a
enumeration value. |
static String |
toString(int value)
Returns a string representation of the
value. |
public static final int Bold
Bold text.
public static final int Italic
Italic text.
public static final int Regular
Normal text.
public static final int Strikeout
Text with a line through the middle.
public static final int Underline
Underlined text.
Copyright © 2026. All rights reserved.