Enum Class VipsSdfShape

java.lang.Object
java.lang.Enum<VipsSdfShape>
app.photofox.vipsffm.enums.VipsSdfShape
All Implemented Interfaces:
VEnum, VNamedEnum, Serializable, Comparable<VipsSdfShape>, Constable

public enum VipsSdfShape extends Enum<VipsSdfShape> implements VNamedEnum
  • Enum Constant Details

    • SDF_SHAPE_CIRCLE

      public static final VipsSdfShape SDF_SHAPE_CIRCLE

      a circle at a, radius r

    • SDF_SHAPE_BOX

      public static final VipsSdfShape SDF_SHAPE_BOX

      a box from a to b

    • SDF_SHAPE_ROUNDED_BOX

      public static final VipsSdfShape SDF_SHAPE_ROUNDED_BOX

      a box with rounded corners from a to b

    • SDF_SHAPE_LINE

      public static final VipsSdfShape SDF_SHAPE_LINE

      a line from a to b

    • SDF_SHAPE_LAST

      public static final VipsSdfShape SDF_SHAPE_LAST
  • Field Details

  • Method Details

    • values

      public static VipsSdfShape[] 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 VipsSdfShape 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
    • getName

      public String getName()
      Specified by:
      getName in interface VNamedEnum
    • getNickname

      public String getNickname()
      Specified by:
      getNickname in interface VNamedEnum
    • getRawValue

      public int getRawValue()
      Specified by:
      getRawValue in interface VEnum