Interface SVGMatrix

All Known Implementing Classes:
SVGMatrixImpl

public interface SVGMatrix

SVGMatrix interface.

  • Method Details

    • getA

      float getA()

      getA.

      Returns:
      a float.
    • setA

      void setA(float a)

      setA.

      Parameters:
      a - a float.
      Throws:
      DOMException - if any.
    • getB

      float getB()

      getB.

      Returns:
      a float.
    • setB

      void setB(float b)

      setB.

      Parameters:
      b - a float.
      Throws:
      DOMException - if any.
    • getC

      float getC()

      getC.

      Returns:
      a float.
    • setC

      void setC(float c)

      setC.

      Parameters:
      c - a float.
      Throws:
      DOMException - if any.
    • getD

      float getD()

      getD.

      Returns:
      a float.
    • setD

      void setD(float d)

      setD.

      Parameters:
      d - a float.
      Throws:
      DOMException - if any.
    • getE

      float getE()

      getE.

      Returns:
      a float.
    • setE

      void setE(float e)

      setE.

      Parameters:
      e - a float.
      Throws:
      DOMException - if any.
    • getF

      float getF()

      getF.

      Returns:
      a float.
    • setF

      void setF(float f)

      setF.

      Parameters:
      f - a float.
      Throws:
      DOMException - if any.
    • multiply

      SVGMatrix multiply(SVGMatrix secondMatrix)

      multiply.

      Parameters:
      secondMatrix - a SVGMatrix object.
      Returns:
      a SVGMatrix object.
    • inverse

      SVGMatrix inverse() throws SVGException

      inverse.

      Returns:
      a SVGMatrix object.
      Throws:
      SVGException - if any.
      SVGException - if any.
      SVGException - if any.
      SVGException - if any.
      SVGException - if any.
    • translate

      SVGMatrix translate(float x, float y)

      translate.

      Parameters:
      x - a float.
      y - a float.
      Returns:
      a SVGMatrix object.
    • scale

      SVGMatrix scale(float scaleFactor)

      scale.

      Parameters:
      scaleFactor - a float.
      Returns:
      a SVGMatrix object.
    • scaleNonUniform

      SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY)

      scaleNonUniform.

      Parameters:
      scaleFactorX - a float.
      scaleFactorY - a float.
      Returns:
      a SVGMatrix object.
    • rotate

      SVGMatrix rotate(float angle)

      rotate.

      Parameters:
      angle - a float.
      Returns:
      a SVGMatrix object.
    • rotateFromVector

      SVGMatrix rotateFromVector(float x, float y) throws SVGException

      rotateFromVector.

      Parameters:
      x - a float.
      y - a float.
      Returns:
      a SVGMatrix object.
      Throws:
      SVGException - if any.
      SVGException - if any.
      SVGException - if any.
      SVGException - if any.
      SVGException - if any.
    • flipX

      SVGMatrix flipX()

      flipX.

      Returns:
      a SVGMatrix object.
    • flipY

      SVGMatrix flipY()

      flipY.

      Returns:
      a SVGMatrix object.
    • skewX

      SVGMatrix skewX(float angle)

      skewX.

      Parameters:
      angle - a float.
      Returns:
      a SVGMatrix object.
    • skewY

      SVGMatrix skewY(float angle)

      skewY.

      Parameters:
      angle - a float.
      Returns:
      a SVGMatrix object.
    • getAffineTransform

      AffineTransform getAffineTransform()

      getAffineTransform.

      Returns:
      a AffineTransform object.