Package io.keikai.api.model
Interface Font
- All Known Subinterfaces:
EditableFont
- All Known Implementing Classes:
EditableFontImpl,FontImpl
public interface Font
This interface allows you to get font style of a cell.
- Since:
- 3.0.0
- Author:
- dennis
-
Method Details
-
getColor
Color getColor()- Returns:
- a font's color
-
getFontName
String getFontName()- Returns:
- a font's name like "Calibri".
-
getBoldweight
Font.Boldweight getBoldweight()- Returns:
- a font's bold style.
-
getFontHeightInPoint
int getFontHeightInPoint()- Returns:
- a font's height in pixel
-
isItalic
boolean isItalic()- Returns:
- true if the font is italic
-
isStrikeout
boolean isStrikeout()- Returns:
- true if the font is strike-out.
-
getTypeOffset
Font.TypeOffset getTypeOffset() -
getUnderline
Font.Underline getUnderline()- Returns:
- the style of a font's underline
-