Enum Class MarkerElement.MarkerUnits

java.lang.Object
java.lang.Enum<MarkerElement.MarkerUnits>
org.vaadin.firitin.element.svg.MarkerElement.MarkerUnits
All Implemented Interfaces:
Serializable, Comparable<MarkerElement.MarkerUnits>, Constable
Enclosing class:
MarkerElement

public static enum MarkerElement.MarkerUnits extends Enum<MarkerElement.MarkerUnits>
Marker unit options.
  • Enum Constant Details

    • STROKE_WIDTH

      public static final MarkerElement.MarkerUnits STROKE_WIDTH
      markerWidth and markerHeight are in stroke-width units
    • USER_SPACE_ON_USE

      public static final MarkerElement.MarkerUnits USER_SPACE_ON_USE
      markerWidth and markerHeight are in user coordinate system units
  • Method Details

    • values

      public static MarkerElement.MarkerUnits[] 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 MarkerElement.MarkerUnits 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<MarkerElement.MarkerUnits>