Class FontSetting
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.FontSetting
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class FontSetting
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Font matching configuration.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FontSetting.Builder
Builder. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a FontSetting builder
-
level
Gets the level.The HTML heading level that any content with the matching font is converted to.
- Returns:
- the level
-
minSize
Gets the minSize.The minimum size of the font to match.
- Returns:
- the minSize
-
maxSize
Gets the maxSize.The maximum size of the font to match.
- Returns:
- the maxSize
-
bold
Gets the bold.When `true`, the font is matched if it is bold.
- Returns:
- the bold
-
italic
Gets the italic.When `true`, the font is matched if it is italic.
- Returns:
- the italic
-
name
Gets the name.The name of the font.
- Returns:
- the name
-