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 Font
public SFont getNative()
public Font.Boldweight getBoldweight()
getBoldweight
in interface Font
public int getFontHeight()
getFontHeight
in interface Font
public boolean isItalic()
public boolean isStrikeout()
isStrikeout
in interface Font
public Font.TypeOffset getTypeOffset()
getTypeOffset
in interface Font
public Font.Underline getUnderline()
getUnderline
in interface Font
public int getFontHeightInPoint()
getFontHeightInPoint
in interface Font
Copyright © 2020. All rights reserved.