Modifier and Type | Field and Description |
---|---|
int |
colorRGBA
To specify the RGBA color: 8 bits each of red, green, blue,
and an alpha(transparency) value
|
int |
endChar
The offset of the end character which applys this style
|
int |
fontID
ID of the font.
|
int |
fontSize
The size of the font
|
boolean |
isBold
True if the characters should be bold
|
boolean |
isItalic
True if the characters should be italic
|
boolean |
isUnderlined
True if the characters should be underlined
|
int |
startChar
The offset of the start character which applys this style
|
Constructor and Description |
---|
Style(int startChar,
int endChar,
int fontId,
boolean isBold,
boolean isItalic,
boolean isUnderlined,
int fontSize,
int colorRGBA)
Constructor
|
public final int startChar
public final int endChar
public final int fontID
public final boolean isBold
public final boolean isItalic
public final boolean isUnderlined
public final int fontSize
public final int colorRGBA
public Style(int startChar, int endChar, int fontId, boolean isBold, boolean isItalic, boolean isUnderlined, int fontSize, int colorRGBA)
startChar
- the offset of the start character which applys this styleendChar
- the offset of the end character which applys this stylefontId
- the ID of the font.isBold
- whether the characters should be bold.isItalic
- whether the characters should be italic.isUnderlined
- whether the characters should be underlined.fontSize
- the size of the font.colorRGBA
- red, green, blue, and alpha value for color.