Package io.keikai.model.impl
Class FontBuilderImpl
- java.lang.Object
-
- io.keikai.model.impl.FontBuilderImpl
-
- All Implemented Interfaces:
AbstractFontBuilderAdv
,SFontBuilder
,StyleBuilder<SFont>
public class FontBuilderImpl extends Object implements AbstractFontBuilderAdv
-
-
Method Summary
-
-
-
Method Detail
-
build
public SFont build()
- Specified by:
build
in interfaceStyleBuilder<SFont>
-
color
public AbstractFontBuilderAdv color(String color)
Description copied from interface:SFontBuilder
Sets the font's color.- Specified by:
color
in interfaceSFontBuilder
-
name
public AbstractFontBuilderAdv name(String name)
Description copied from interface:SFontBuilder
Sets the font's name like "Calibri".- Specified by:
name
in interfaceSFontBuilder
-
boldweight
public AbstractFontBuilderAdv boldweight(SFont.Boldweight boldweight)
Description copied from interface:SFontBuilder
Sets the font's bold style.- Specified by:
boldweight
in interfaceSFontBuilder
-
heightPoints
public AbstractFontBuilderAdv heightPoints(int heightPoints)
Description copied from interface:SFontBuilder
Sets the font's height point.- Specified by:
heightPoints
in interfaceSFontBuilder
-
italic
public AbstractFontBuilderAdv italic(boolean italic)
Description copied from interface:SFontBuilder
Sets if the font is italic.- Specified by:
italic
in interfaceSFontBuilder
-
strikeout
public AbstractFontBuilderAdv strikeout(boolean strikeout)
Description copied from interface:SFontBuilder
Sets if the font is strike-out.- Specified by:
strikeout
in interfaceSFontBuilder
-
typeOffset
public AbstractFontBuilderAdv typeOffset(SFont.TypeOffset typeOffset)
Description copied from interface:SFontBuilder
Sets the font's type offset.- Specified by:
typeOffset
in interfaceSFontBuilder
-
underline
public AbstractFontBuilderAdv underline(SFont.Underline underline)
Description copied from interface:SFontBuilder
Sets the font's underline style.- Specified by:
underline
in interfaceSFontBuilder
-
overrideName
public AbstractFontBuilderAdv overrideName(boolean b)
- Specified by:
overrideName
in interfaceAbstractFontBuilderAdv
-
overrideColor
public AbstractFontBuilderAdv overrideColor(boolean b)
- Specified by:
overrideColor
in interfaceAbstractFontBuilderAdv
-
overrideBold
public AbstractFontBuilderAdv overrideBold(boolean b)
- Specified by:
overrideBold
in interfaceAbstractFontBuilderAdv
-
overrideItalic
public AbstractFontBuilderAdv overrideItalic(boolean b)
- Specified by:
overrideItalic
in interfaceAbstractFontBuilderAdv
-
overrideStrikeout
public AbstractFontBuilderAdv overrideStrikeout(boolean b)
- Specified by:
overrideStrikeout
in interfaceAbstractFontBuilderAdv
-
overrideUnderline
public AbstractFontBuilderAdv overrideUnderline(boolean b)
- Specified by:
overrideUnderline
in interfaceAbstractFontBuilderAdv
-
overrideHeightPoints
public AbstractFontBuilderAdv overrideHeightPoints(boolean b)
- Specified by:
overrideHeightPoints
in interfaceAbstractFontBuilderAdv
-
overrideTypeOffset
public AbstractFontBuilderAdv overrideTypeOffset(boolean b)
- Specified by:
overrideTypeOffset
in interfaceAbstractFontBuilderAdv
-
-