Package io.keikai.model
Interface SFont
- All Known Implementing Classes:
AbstractFontAdv,FontImpl,ImmutableFontImpl
public interface SFont
Represents a font used in cells.
- Since:
- 3.5.0
- Author:
- dennis
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.getColor()intgetName()booleanisItalic()booleanvoidsetBoldweight(SFont.Boldweight fontBoldweight) Deprecated.voidDeprecated.voidsetHeightPoints(int fontHeightPoint) Deprecated.voidsetItalic(boolean fontItalic) Deprecated.voidDeprecated.voidsetStrikeout(boolean fontStrikeout) Deprecated.voidsetTypeOffset(SFont.TypeOffset fontTypeOffset) Deprecated.voidsetUnderline(SFont.Underline fontUnderline) Deprecated.
-
Method Details
-
getColor
SColor getColor()- Returns:
- a font's color
-
getName
String getName()- Returns:
- a font's name like "Calibri".
-
getBoldweight
SFont.Boldweight getBoldweight()- Returns:
- a font's bold style.
-
getHeightPoints
int getHeightPoints()- Returns:
- a font height point
-
isItalic
boolean isItalic()- Returns:
- true if the font is italic
-
isStrikeout
boolean isStrikeout()- Returns:
- true if the font is strike-out.
-
getTypeOffset
SFont.TypeOffset getTypeOffset()- Returns:
-
getUnderline
SFont.Underline getUnderline()- Returns:
- the style of a font's underline
-
setName
Deprecated. -
setColor
Deprecated. -
setBoldweight
Deprecated. -
setHeightPoints
Deprecated. -
setItalic
Deprecated. -
setStrikeout
Deprecated. -
setTypeOffset
Deprecated. -
setUnderline
Deprecated. -
copyFrom
Deprecated.
-