Class FontWeight

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final FontWeight
    Characters are represented with thicker strokes.
    static final FontWeight
    Characters are represented normally.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static FontWeight
    Creates or finds a FontWeight from its string representation.
    Gets known FontWeight 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 FontWeight NORMAL
      Characters are represented normally.
    • BOLD

      public static final FontWeight BOLD
      Characters are represented with thicker strokes.
  • Constructor Details

  • Method Details

    • fromString

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

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