public interface SFontBuilder extends StyleBuilder<SFont>
Modifier and Type | Method and 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.
|
build
SFontBuilder color(String color)
SFontBuilder name(String name)
SFontBuilder heightPoints(int heightPoints)
SFontBuilder boldweight(SFont.Boldweight boldweight)
SFontBuilder italic(boolean italic)
SFontBuilder strikeout(boolean strikeout)
SFontBuilder typeOffset(SFont.TypeOffset typeOffset)
SFontBuilder underline(SFont.Underline underline)
Copyright © 2023. All rights reserved.