public static class FontSetting.Builder
extends java.lang.Object
Constructor and Description |
---|
FontSetting.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
FontSetting.Builder |
bold(java.lang.Boolean bold)
Set the bold.
|
FontSetting |
build()
Builds a FontSetting.
|
FontSetting.Builder |
italic(java.lang.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(java.lang.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(java.lang.Boolean bold)
bold
- the boldpublic FontSetting.Builder italic(java.lang.Boolean italic)
italic
- the italicpublic FontSetting.Builder name(java.lang.String name)
name
- the name