Enum Class TextPathElement.Side

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

public static enum TextPathElement.Side extends Enum<TextPathElement.Side>
Text path side options.
  • Enum Constant Details

    • LEFT

      public static final TextPathElement.Side LEFT
      Text is rendered on the left side of the path (default)
  • Method Details

    • values

      public static TextPathElement.Side[] 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 TextPathElement.Side 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<TextPathElement.Side>