Font.BoldWeight, Font.Offset, Font.Underline| Constructor and Description |
|---|
FontImpl() |
| Modifier and Type | Method and Description |
|---|---|
Font |
bold(Boolean bold)
Bold font.
|
Font |
color(ColorKey color)
Color font.
|
boolean |
equals(Object o) |
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.
|
int |
hashCode() |
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.
|
public Font.Underline getUnderline()
FontgetUnderline in interface Fontpublic String getFontName()
FontgetFontName in interface Fontpublic Font.Offset getTypeOffset()
FontgetTypeOffset in interface Fontpublic void setUnderline(Font.Underline underline)
FontsetUnderline in interface Fontunderline - the underlinepublic void setItalic(Boolean italic)
Fontpublic void setFontName(String fontName)
FontsetFontName in interface FontfontName - the font namepublic void setTypeOffset(Font.Offset typeOffset)
FontsetTypeOffset in interface FonttypeOffset - the type offsetpublic void setHeight(Integer height)
Fontpublic Font underline(Font.Underline underline)
Fontpublic Font fontName(String fontName)
Fontpublic Font typeOffset(Font.Offset typeOffset)
FonttypeOffset in interface FonttypeOffset - the type offsetCopyright © 2018. All rights reserved.