Package io.keikai.api.model.impl
Class FontImpl
java.lang.Object
io.keikai.api.model.impl.FontImpl
- All Implemented Interfaces:
Font,Serializable
- Direct Known Subclasses:
EditableFontImpl
- Since:
- 3.0.0
- Author:
- dennis
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.api.model.Font
Font.Boldweight, Font.TypeOffset, Font.Underline -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_bookRef
-
_fontRef
-
-
Constructor Details
-
FontImpl
-
-
Method Details
-
getFontName
- Specified by:
getFontNamein interfaceFont- Returns:
- a font's name like "Calibri".
-
getNative
-
getRef
-
getColor
-
hashCode
public int hashCode() -
equals
-
getBoldweight
- Specified by:
getBoldweightin interfaceFont- Returns:
- a font's bold style.
-
getFontHeight
public int getFontHeight() -
isItalic
public boolean isItalic() -
isStrikeout
public boolean isStrikeout()- Specified by:
isStrikeoutin interfaceFont- Returns:
- true if the font is strike-out.
-
getTypeOffset
- Specified by:
getTypeOffsetin interfaceFont
-
getUnderline
- Specified by:
getUnderlinein interfaceFont- Returns:
- the style of a font's underline
-
toString
-
getFontHeightInPoint
public int getFontHeightInPoint()- Specified by:
getFontHeightInPointin interfaceFont- Returns:
- a font's height in pixel
-