public class FontImpl extends Object implements Font, Serializable
Font.Boldweight, Font.TypeOffset, Font.Underline| Modifier and Type | Field and Description |
|---|---|
protected ModelRef<SBook> |
_bookRef |
protected ModelRef<SFont> |
_fontRef |
| Constructor and Description |
|---|
FontImpl(ModelRef<SBook> book,
ModelRef<SFont> font) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Font.Boldweight |
getBoldweight() |
Color |
getColor() |
int |
getFontHeight() |
int |
getFontHeightInPoint() |
String |
getFontName() |
SFont |
getNative() |
ModelRef<SFont> |
getRef() |
Font.TypeOffset |
getTypeOffset() |
Font.Underline |
getUnderline() |
int |
hashCode() |
boolean |
isItalic() |
boolean |
isStrikeout() |
String |
toString() |
public String getFontName()
getFontName in interface Fontpublic SFont getNative()
public Font.Boldweight getBoldweight()
getBoldweight in interface Fontpublic int getFontHeight()
getFontHeight in interface Fontpublic boolean isItalic()
public boolean isStrikeout()
isStrikeout in interface Fontpublic Font.TypeOffset getTypeOffset()
getTypeOffset in interface Fontpublic Font.Underline getUnderline()
getUnderline in interface Fontpublic int getFontHeightInPoint()
getFontHeightInPoint in interface FontCopyright © 2020. All rights reserved.