Class SVGTransformImpl

java.lang.Object
org.loboevolution.html.dom.svgimpl.SVGTransformImpl
All Implemented Interfaces:
SVGTransform

public class SVGTransformImpl extends Object implements SVGTransform

SVGTransformImpl class.

  • Constructor Details

    • SVGTransformImpl

      public SVGTransformImpl()

      Constructor for SVGTransformImpl.

    • SVGTransformImpl

      public SVGTransformImpl(short transformType)

      Constructor for SVGTransformImpl.

      Parameters:
      transformType - a short.
  • Method Details

    • getType

      public short getType()

      getType.

      Specified by:
      getType in interface SVGTransform
      Returns:
      a short.
    • getMatrix

      public SVGMatrix getMatrix()

      getMatrix.

      Specified by:
      getMatrix in interface SVGTransform
      Returns:
      a SVGMatrix object.
    • getAngle

      public float getAngle()

      getAngle.

      Specified by:
      getAngle in interface SVGTransform
      Returns:
      a float.
    • setMatrix

      public void setMatrix(SVGMatrix matrix)

      setMatrix.

      Specified by:
      setMatrix in interface SVGTransform
      Parameters:
      matrix - a SVGMatrix object.
    • setTranslate

      public void setTranslate(float tx, float ty)

      setTranslate.

      Specified by:
      setTranslate in interface SVGTransform
      Parameters:
      tx - a float.
      ty - a float.
    • setScale

      public void setScale(float sx, float sy)

      setScale.

      Specified by:
      setScale in interface SVGTransform
      Parameters:
      sx - a float.
      sy - a float.
    • setRotate

      public void setRotate(float angle, float cx, float cy)

      setRotate.

      Specified by:
      setRotate in interface SVGTransform
      Parameters:
      angle - a float.
      cx - a float.
      cy - a float.
    • setSkewX

      public void setSkewX(float angle)

      setSkewX.

      Specified by:
      setSkewX in interface SVGTransform
      Parameters:
      angle - a float.
    • setSkewY

      public void setSkewY(float angle)

      setSkewY.

      Specified by:
      setSkewY in interface SVGTransform
      Parameters:
      angle - a float.