public interface IFontBuilder
IFont
according to the given settingsModifier and Type | Method and Description |
---|---|
IFont |
build()
Builds the
IFont with the given attributes |
IFontBuilder |
from(IFont source)
Copies the attributes from the existing font
|
static IFontBuilder |
resolve(IScellApiResolver resolver)
Resolves a new instance of
IFontBuilder with the given resolver |
IFontBuilder |
setBold(Boolean source)
Sets the attribute *bold* to the font being built
|
IFontBuilder |
setColor(IColor source)
Sets the
IColor for the font being built |
IFontBuilder |
setItalic(Boolean source)
Sets the attribute *italic* to the font being built
|
IFontBuilder |
setName(String source)
Sets the name of the font being built
|
IFontBuilder |
setSize(Double source)
Sets the size of the font being built
|
IFontBuilder |
setStrikeOut(Boolean source)
Sets the *strikeout* attribute 3
|
IFontBuilder |
setUnderline(UnderlineType source)
Sets the underlined type of the font being built
|
IFontBuilder |
setVerticalShifting(VerticalShifting source)
Sets the
VerticalShifting to the font being built |
static IFontBuilder resolve(IScellApiResolver resolver)
IFontBuilder
with the given resolverresolver
- the given resolverIFontBuilder
IFontBuilder from(IFont source)
source
- the instance of the font to be copiedIFont
IFontBuilder setColor(IColor source)
IColor
for the font being builtsource
- the IColor
for the fontIFontBuilder setBold(Boolean source)
source
- if source is true
the font will be bold, if the source is false
-
the attribute will be resetIFontBuilder setItalic(Boolean source)
source
- if the source is true
the font will be italic, if the source is false
-
the attribute will be resetIFontBuilder setUnderline(UnderlineType source)
source
- the UnderlineType
to be setIFontBuilder setStrikeOut(Boolean source)
source
- if the source is true
the strikeout effect is set, if the source is false
-
the attribute will be resetIFontBuilder setVerticalShifting(VerticalShifting source)
VerticalShifting
to the font being builtsource
- the VerticalShifting
to be setIFontBuilder setName(String source)
source
- the name to be setIFontBuilder setSize(Double source)
source
- the size to be setCopyright © 2024. All rights reserved.