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.
  • Method Details

    • newBuilder

      public FontSetting.Builder newBuilder()
      New builder.
      Returns:
      a FontSetting builder
    • level

      public Long level()
      Gets the level.

      The HTML heading level that any content with the matching font is converted to.

      Returns:
      the level
    • minSize

      public Long minSize()
      Gets the minSize.

      The minimum size of the font to match.

      Returns:
      the minSize
    • maxSize

      public Long maxSize()
      Gets the maxSize.

      The maximum size of the font to match.

      Returns:
      the maxSize
    • bold

      public Boolean bold()
      Gets the bold.

      When `true`, the font is matched if it is bold.

      Returns:
      the bold
    • italic

      public Boolean italic()
      Gets the italic.

      When `true`, the font is matched if it is italic.

      Returns:
      the italic
    • name

      public String name()
      Gets the name.

      The name of the font.

      Returns:
      the name