Class FontStyle

java.lang.Object
com.azure.core.util.ExpandableStringEnum<FontStyle>
com.azure.ai.documentintelligence.models.FontStyle

public final class FontStyle extends com.azure.core.util.ExpandableStringEnum<FontStyle>
Font style.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FontStyle
    Characters are visually slanted to the right.
    static final FontStyle
    Characters are represented normally.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static FontStyle
    Creates or finds a FontStyle from its string representation.
    Gets known FontStyle values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • NORMAL

      public static final FontStyle NORMAL
      Characters are represented normally.
    • ITALIC

      public static final FontStyle ITALIC
      Characters are visually slanted to the right.
  • Constructor Details

  • Method Details

    • fromString

      public static FontStyle fromString(String name)
      Creates or finds a FontStyle from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding FontStyle.
    • values

      public static Collection<FontStyle> values()
      Gets known FontStyle values.
      Returns:
      known FontStyle values.