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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Font.Boldweight
static class
Font.TypeOffset
static class
Font.Underline
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Font.Boldweight
getBoldweight()
Color
getColor()
int
getFontHeightInPoint()
String
getFontName()
Font.TypeOffset
getTypeOffset()
Font.Underline
getUnderline()
boolean
isItalic()
boolean
isStrikeout()
-
-
-
Method Detail
-
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
-
-