public static class WordHeadingDetection.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
WordHeadingDetection.Builder |
addFontSetting(FontSetting fontSetting)
Adds an fontSetting to fonts.
|
WordHeadingDetection.Builder |
addWordStyle(WordStyle wordStyle)
Adds an wordStyle to styles.
|
WordHeadingDetection |
build()
Builds a WordHeadingDetection.
|
WordHeadingDetection.Builder |
fonts(List<FontSetting> fonts)
Set the fonts.
|
WordHeadingDetection.Builder |
styles(List<WordStyle> styles)
Set the styles.
|
public WordHeadingDetection build()
public WordHeadingDetection.Builder addFontSetting(FontSetting fontSetting)
fontSetting
- the new fontSettingpublic WordHeadingDetection.Builder addWordStyle(WordStyle wordStyle)
wordStyle
- the new wordStylepublic WordHeadingDetection.Builder fonts(List<FontSetting> fonts)
fonts
- the fontspublic WordHeadingDetection.Builder styles(List<WordStyle> styles)
styles
- the stylesCopyright © 2023 IBM Cloud. All rights reserved.