public class FontSetting
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
FontSetting.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
bold |
protected java.lang.Boolean |
italic |
protected java.lang.Long |
level |
protected java.lang.Long |
maxSize |
protected java.lang.Long |
minSize |
protected java.lang.String |
name |
Modifier | Constructor and Description |
---|---|
protected |
FontSetting(FontSetting.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
bold()
Gets the bold.
|
java.lang.Boolean |
italic()
Gets the italic.
|
java.lang.Long |
level()
Gets the level.
|
java.lang.Long |
maxSize()
Gets the maxSize.
|
java.lang.Long |
minSize()
Gets the minSize.
|
java.lang.String |
name()
Gets the name.
|
FontSetting.Builder |
newBuilder()
New builder.
|
protected java.lang.Long level
@SerializedName(value="min_size") protected java.lang.Long minSize
@SerializedName(value="max_size") protected java.lang.Long maxSize
protected java.lang.Boolean bold
protected java.lang.Boolean italic
protected java.lang.String name
protected FontSetting(FontSetting.Builder builder)
public FontSetting.Builder newBuilder()
public java.lang.Long level()
The HTML heading level that any content with the matching font is converted to.
public java.lang.Long minSize()
The minimum size of the font to match.
public java.lang.Long maxSize()
The maximum size of the font to match.
public java.lang.Boolean bold()
When `true`, the font is matched if it is bold.
public java.lang.Boolean italic()
When `true`, the font is matched if it is italic.
public java.lang.String name()
The name of the font.