Class SVGAngleImpl

java.lang.Object
org.loboevolution.html.dom.svgimpl.SVGAngleImpl
All Implemented Interfaces:
SVGAngle

public class SVGAngleImpl extends Object implements SVGAngle

SVGAngleImpl class.

  • Constructor Details

    • SVGAngleImpl

      public SVGAngleImpl()
      Creates and new SVGAngleImpl. Initialized to 0 degrees.
    • SVGAngleImpl

      public SVGAngleImpl(float value)
      Creates and new SVGAngleImpl. Initialized to value degrees.
    • SVGAngleImpl

      public SVGAngleImpl(String valueAndUnit)
      Creates a new SVGAngleImpl.
      Parameters:
      valueAndUnit - The String representation of the angle. eg. 90deg
  • Method Details

    • getUnitType

      public short getUnitType()

      getUnitType.

      Specified by:
      getUnitType in interface SVGAngle
      Returns:
      a short.
    • getValue

      public float getValue()

      getValue.

      Specified by:
      getValue in interface SVGAngle
      Returns:
      a float.
    • setValue

      public void setValue(float value)

      setValue.

      Specified by:
      setValue in interface SVGAngle
      Parameters:
      value - a float.
    • getValueInSpecifiedUnits

      public float getValueInSpecifiedUnits()

      getValueInSpecifiedUnits.

      Specified by:
      getValueInSpecifiedUnits in interface SVGAngle
      Returns:
      a float.
    • setValueInSpecifiedUnits

      public void setValueInSpecifiedUnits(float valueInSpecifiedUnits)

      setValueInSpecifiedUnits.

      Specified by:
      setValueInSpecifiedUnits in interface SVGAngle
      Parameters:
      valueInSpecifiedUnits - a float.
    • getValueAsString

      public String getValueAsString()

      getValueAsString.

      Specified by:
      getValueAsString in interface SVGAngle
      Returns:
      a String object.
    • setValueAsString

      public void setValueAsString(String valueAsString)

      setValueAsString.

      Specified by:
      setValueAsString in interface SVGAngle
      Parameters:
      valueAsString - a String object.
    • newValueSpecifiedUnits

      public void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits)

      newValueSpecifiedUnits.

      Specified by:
      newValueSpecifiedUnits in interface SVGAngle
      Parameters:
      unitType - a short.
      valueInSpecifiedUnits - a float.
    • convertToSpecifiedUnits

      public void convertToSpecifiedUnits(short unitType)

      convertToSpecifiedUnits.

      Specified by:
      convertToSpecifiedUnits in interface SVGAngle
      Parameters:
      unitType - a short.