Enum Class MarkerElement.Orient

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

public static enum MarkerElement.Orient extends Enum<MarkerElement.Orient>
Orientation options for markers.
  • Enum Constant Details

    • ZERO

      public static final MarkerElement.Orient ZERO
      Marker points in a fixed direction (0 degrees)
    • AUTO

      public static final MarkerElement.Orient AUTO
      Marker rotates to match the direction of the path at the marker position
    • AUTO_START_REVERSE

      public static final MarkerElement.Orient AUTO_START_REVERSE
      Marker rotates to point in the opposite direction of the path
  • Method Details

    • values

      public static MarkerElement.Orient[] 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.Orient 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.Orient>