Enum Class RenderingStyle

java.lang.Object
java.lang.Enum<RenderingStyle>
com.mta.tehreer.graphics.RenderingStyle
All Implemented Interfaces:
Serializable, Comparable<RenderingStyle>, java.lang.constant.Constable

public enum RenderingStyle extends Enum<RenderingStyle>
Specifies if the glyph being drawn is filled, stroked, or both.
  • Enum Constant Details

    • FILL

      public static final RenderingStyle FILL
      Glyphs drawn with this style will be filled, ignoring all stroke-related settings in the renderer.
    • FILL_STROKE

      public static final RenderingStyle FILL_STROKE
      Glyphs drawn with this style will be both filled and stroked at the same time, respecting the stroke-related settings in the renderer.
    • STROKE

      public static final RenderingStyle STROKE
      Glyphs drawn with this style will be stroked, respecting the stroke-related settings in the renderer.
  • Method Details

    • values

      public static RenderingStyle[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RenderingStyle valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null