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.
|
public static final int Regular
Normal text.
public static final int Bold
Bold text.
public static final int Italic
Italic text.
public static final int Underline
Underlined text.
public static final int Strikeout
Text with a line through the middle.
public static final String toString(int value)
Returns a string representation of the FontStyle value.
value
- The value to convert.public static final int parse(String value)
Parses a string to a FontStyle enumeration value.
value
- The string to parse.Copyright © 2020. All rights reserved.