public static interface FontConfiguration.Builder extends SdkPojo, CopyableBuilder<FontConfiguration.Builder,FontConfiguration>
| Modifier and Type | Method and Description |
|---|---|
FontConfiguration.Builder |
fontColor(String fontColor)
Determines the color of the text.
|
FontConfiguration.Builder |
fontDecoration(FontDecoration fontDecoration)
Determines the appearance of decorative lines on the text.
|
FontConfiguration.Builder |
fontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
|
default FontConfiguration.Builder |
fontSize(Consumer<FontSize.Builder> fontSize)
The option that determines the text display size.
|
FontConfiguration.Builder |
fontSize(FontSize fontSize)
The option that determines the text display size.
|
FontConfiguration.Builder |
fontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
|
FontConfiguration.Builder |
fontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
|
default FontConfiguration.Builder |
fontWeight(Consumer<FontWeight.Builder> fontWeight)
The option that determines the text display weight, or boldness.
|
FontConfiguration.Builder |
fontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFontConfiguration.Builder fontSize(FontSize fontSize)
The option that determines the text display size.
fontSize - The option that determines the text display size.default FontConfiguration.Builder fontSize(Consumer<FontSize.Builder> fontSize)
The option that determines the text display size.
This is a convenience method that creates an instance of theFontSize.Builder avoiding the need to
create one manually via FontSize.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to fontSize(FontSize).
fontSize - a consumer that will call methods on FontSize.BuilderfontSize(FontSize)FontConfiguration.Builder fontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration - Determines the appearance of decorative lines on the text.FontDecoration,
FontDecorationFontConfiguration.Builder fontDecoration(FontDecoration fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration - Determines the appearance of decorative lines on the text.FontDecoration,
FontDecorationFontConfiguration.Builder fontColor(String fontColor)
Determines the color of the text.
fontColor - Determines the color of the text.FontConfiguration.Builder fontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
fontWeight - The option that determines the text display weight, or boldness.default FontConfiguration.Builder fontWeight(Consumer<FontWeight.Builder> fontWeight)
The option that determines the text display weight, or boldness.
This is a convenience method that creates an instance of theFontWeight.Builder avoiding the need to
create one manually via FontWeight.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to fontWeight(FontWeight).
fontWeight - a consumer that will call methods on FontWeight.BuilderfontWeight(FontWeight)FontConfiguration.Builder fontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
FontConfiguration.Builder fontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
Copyright © 2023. All rights reserved.