Package io.keikai.model
Interface SFontBuilder
-
- All Superinterfaces:
StyleBuilder<SFont>
- All Known Subinterfaces:
AbstractFontBuilderAdv
- All Known Implementing Classes:
FontBuilderImpl
public interface SFontBuilder extends StyleBuilder<SFont>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SFontBuilder
boldweight(SFont.Boldweight boldweight)
Sets the font's bold style.SFontBuilder
color(String color)
Sets the font's color.SFontBuilder
heightPoints(int heightPoints)
Sets the font's height point.SFontBuilder
italic(boolean italic)
Sets if the font is italic.SFontBuilder
name(String name)
Sets the font's name like "Calibri".SFontBuilder
strikeout(boolean strikeout)
Sets if the font is strike-out.SFontBuilder
typeOffset(SFont.TypeOffset typeOffset)
Sets the font's type offset.SFontBuilder
underline(SFont.Underline underline)
Sets the font's underline style.-
Methods inherited from interface io.keikai.model.StyleBuilder
build
-
-
-
-
Method Detail
-
color
SFontBuilder color(String color)
Sets the font's color.
-
name
SFontBuilder name(String name)
Sets the font's name like "Calibri".
-
heightPoints
SFontBuilder heightPoints(int heightPoints)
Sets the font's height point.
-
boldweight
SFontBuilder boldweight(SFont.Boldweight boldweight)
Sets the font's bold style.
-
italic
SFontBuilder italic(boolean italic)
Sets if the font is italic.
-
strikeout
SFontBuilder strikeout(boolean strikeout)
Sets if the font is strike-out.
-
typeOffset
SFontBuilder typeOffset(SFont.TypeOffset typeOffset)
Sets the font's type offset.
-
underline
SFontBuilder underline(SFont.Underline underline)
Sets the font's underline style.
-
-