public static class FontSetting.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
FontSetting.Builder |
bold(Boolean bold)
Set the bold.
|
FontSetting |
build()
Builds a FontSetting.
|
FontSetting.Builder |
italic(Boolean italic)
Set the italic.
|
FontSetting.Builder |
level(long level)
Set the level.
|
FontSetting.Builder |
maxSize(long maxSize)
Set the maxSize.
|
FontSetting.Builder |
minSize(long minSize)
Set the minSize.
|
FontSetting.Builder |
name(String name)
Set the name.
|
public FontSetting build()
public FontSetting.Builder level(long level)
level
- the levelpublic FontSetting.Builder minSize(long minSize)
minSize
- the minSizepublic FontSetting.Builder maxSize(long maxSize)
maxSize
- the maxSizepublic FontSetting.Builder bold(Boolean bold)
bold
- the boldpublic FontSetting.Builder italic(Boolean italic)
italic
- the italicpublic FontSetting.Builder name(String name)
name
- the nameCopyright © 2022 IBM Cloud. All rights reserved.