Interface SVGAngle

All Known Implementing Classes:
SVGAngleImpl

public interface SVGAngle

SVGAngle interface.

  • Field Details

    • SVG_ANGLETYPE_UNKNOWN

      static final short SVG_ANGLETYPE_UNKNOWN
      Constant SVG_ANGLETYPE_UNKNOWN=0
      See Also:
    • SVG_ANGLETYPE_UNSPECIFIED

      static final short SVG_ANGLETYPE_UNSPECIFIED
      Constant SVG_ANGLETYPE_UNSPECIFIED=1
      See Also:
    • SVG_ANGLETYPE_DEG

      static final short SVG_ANGLETYPE_DEG
      Constant SVG_ANGLETYPE_DEG=2
      See Also:
    • SVG_ANGLETYPE_RAD

      static final short SVG_ANGLETYPE_RAD
      Constant SVG_ANGLETYPE_RAD=3
      See Also:
    • SVG_ANGLETYPE_GRAD

      static final short SVG_ANGLETYPE_GRAD
      Constant SVG_ANGLETYPE_GRAD=4
      See Also:
  • Method Details

    • getUnitType

      short getUnitType()

      getUnitType.

      Returns:
      a short.
    • getValue

      float getValue()

      getValue.

      Returns:
      a float.
    • setValue

      void setValue(float value)

      setValue.

      Parameters:
      value - a float.
      Throws:
      DOMException - if any.
    • getValueInSpecifiedUnits

      float getValueInSpecifiedUnits()

      getValueInSpecifiedUnits.

      Returns:
      a float.
    • setValueInSpecifiedUnits

      void setValueInSpecifiedUnits(float valueInSpecifiedUnits)

      setValueInSpecifiedUnits.

      Parameters:
      valueInSpecifiedUnits - a float.
      Throws:
      DOMException - if any.
    • getValueAsString

      String getValueAsString()

      getValueAsString.

      Returns:
      a String object.
    • setValueAsString

      void setValueAsString(String valueAsString)

      setValueAsString.

      Parameters:
      valueAsString - a String object.
      Throws:
      DOMException - if any.
    • newValueSpecifiedUnits

      void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits)

      newValueSpecifiedUnits.

      Parameters:
      unitType - a short.
      valueInSpecifiedUnits - a float.
    • convertToSpecifiedUnits

      void convertToSpecifiedUnits(short unitType)

      convertToSpecifiedUnits.

      Parameters:
      unitType - a short.