public interface Font
| Modifier and Type | Interface and Description |
|---|---|
static class |
Font.BoldWeight
The enum Bold weight.
|
static class |
Font.Offset
The enum Offset.
|
static class |
Font.Underline
The enum Underline.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
bold(Boolean bold)
Bold font.
|
Font |
color(ColorKey color)
Color font.
|
Font |
fontName(String fontName)
Font name font.
|
Boolean |
getBold()
Gets bold.
|
ColorKey |
getColor()
Gets color.
|
String |
getFontName()
Gets font name.
|
Short |
getHeight()
Gets height.
|
Boolean |
getItalic()
Gets italic.
|
Font.Offset |
getTypeOffset()
Gets type offset.
|
Font.Underline |
getUnderline()
Gets underline.
|
Font |
height(Integer height)
Height font.
|
Font |
height(Short height)
Height font.
|
Font |
italic(Boolean italic)
Italic font.
|
void |
setBold(Boolean bold)
Sets bold.
|
void |
setColor(ColorKey color)
Sets color.
|
void |
setFontName(String fontName)
Sets font name.
|
void |
setHeight(Integer height)
Sets height.
|
void |
setItalic(Boolean italic)
Sets italic.
|
void |
setTypeOffset(Font.Offset typeOffset)
Sets type offset.
|
void |
setUnderline(Font.Underline underline)
Sets underline.
|
Font |
typeOffset(Font.Offset typeOffset)
Type offset font.
|
Font |
underline(Font.Underline underline)
Underline font.
|
Boolean getBold()
Font.Underline getUnderline()
Boolean getItalic()
Short getHeight()
String getFontName()
Font.Offset getTypeOffset()
ColorKey getColor()
void setBold(Boolean bold)
bold - the boldvoid setUnderline(Font.Underline underline)
underline - the underlinevoid setItalic(Boolean italic)
italic - the italicvoid setFontName(String fontName)
fontName - the font namevoid setTypeOffset(Font.Offset typeOffset)
typeOffset - the type offsetvoid setColor(ColorKey color)
color - the colorvoid setHeight(Integer height)
height - the heightFont underline(Font.Underline underline)
underline - the underlineFont fontName(String fontName)
fontName - the font nameFont typeOffset(Font.Offset typeOffset)
typeOffset - the type offsetCopyright © 2018. All rights reserved.