Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.dom.svg
Class AbstractSVGMatrix  view AbstractSVGMatrix download AbstractSVGMatrix.java

java.lang.Object
  extended byorg.apache.batik.dom.svg.AbstractSVGMatrix
All Implemented Interfaces:
org.w3c.dom.svg.SVGMatrix
Direct Known Subclasses:
SVGOMMatrix

public abstract class AbstractSVGMatrix
extends java.lang.Object
implements org.w3c.dom.svg.SVGMatrix

This class provides an abstract implementation of the org.w3c.dom.svg.SVGMatrix interface.

Version:
$Id: AbstractSVGMatrix.java,v 1.6 2004/08/18 07:13:13 vhardy Exp $

Field Summary
protected static java.awt.geom.AffineTransform FLIP_X_TRANSFORM
          The transform used to implement flipX.
protected static java.awt.geom.AffineTransform FLIP_Y_TRANSFORM
          The transform used to implement flipX.
 
Constructor Summary
AbstractSVGMatrix()
           
 
Method Summary
 org.w3c.dom.svg.SVGMatrix flipX()
          Implements SVGMatrix.flipX()>SVGMatrix.flipX() 55 .
 org.w3c.dom.svg.SVGMatrix flipY()
          Implements SVGMatrix.flipY()>SVGMatrix.flipY() 55 .
 float getA()
          Implements SVGMatrix.getA()>SVGMatrix.getA() 55 .
protected abstract  java.awt.geom.AffineTransform getAffineTransform()
          Returns the associated AffineTransform.
 float getB()
          Implements SVGMatrix.getB()>SVGMatrix.getB() 55 .
 float getC()
          Implements SVGMatrix.getC()>SVGMatrix.getC() 55 .
 float getD()
          Implements SVGMatrix.getD()>SVGMatrix.getD() 55 .
 float getE()
          Implements SVGMatrix.getE()>SVGMatrix.getE() 55 .
 float getF()
          Implements SVGMatrix.getF()>SVGMatrix.getF() 55 .
 org.w3c.dom.svg.SVGMatrix inverse()
          Implements SVGMatrix.inverse()>SVGMatrix.inverse() 55 .
 org.w3c.dom.svg.SVGMatrix multiply(org.w3c.dom.svg.SVGMatrix secondMatrix)
          Implements SVGMatrix.multiply(SVGMatrix)>SVGMatrix.multiply(SVGMatrix) 55 .
 org.w3c.dom.svg.SVGMatrix rotate(float angle)
          Implements SVGMatrix.rotate(float)>SVGMatrix.rotate(float) 55 .
 org.w3c.dom.svg.SVGMatrix rotateFromVector(float x, float y)
          Implements SVGMatrix.rotateFromVector(float,float)>SVGMatrix.rotateFromVector(float,float) 55 .
 org.w3c.dom.svg.SVGMatrix scale(float scaleFactor)
          Implements SVGMatrix.scale(float)>SVGMatrix.scale(float) 55 .
 org.w3c.dom.svg.SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY)
          Implements SVGMatrix.scaleNonUniform(float,float)>SVGMatrix.scaleNonUniform(float,float) 55 .
 void setA(float a)
          Implements SVGMatrix.setA(float)>SVGMatrix.setA(float) 55 .
 void setB(float b)
          Implements SVGMatrix.setB(float)>SVGMatrix.setB(float) 55 .
 void setC(float c)
          Implements SVGMatrix.setC(float)>SVGMatrix.setC(float) 55 .
 void setD(float d)
          Implements SVGMatrix.setD(float)>SVGMatrix.setD(float) 55 .
 void setE(float e)
          Implements SVGMatrix.setE(float)>SVGMatrix.setE(float) 55 .
 void setF(float f)
          Implements SVGMatrix.setF(float)>SVGMatrix.setF(float) 55 .
 org.w3c.dom.svg.SVGMatrix skewX(float angle)
          Implements SVGMatrix.skewX(float)>SVGMatrix.skewX(float) 55 .
 org.w3c.dom.svg.SVGMatrix skewY(float angle)
          Implements SVGMatrix.skewY(float)>SVGMatrix.skewY(float) 55 .
 org.w3c.dom.svg.SVGMatrix translate(float x, float y)
          Implements SVGMatrix.translate(float,float)>SVGMatrix.translate(float,float) 55 .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLIP_X_TRANSFORM

protected static final java.awt.geom.AffineTransform FLIP_X_TRANSFORM
The transform used to implement flipX.


FLIP_Y_TRANSFORM

protected static final java.awt.geom.AffineTransform FLIP_Y_TRANSFORM
The transform used to implement flipX.

Constructor Detail

AbstractSVGMatrix

public AbstractSVGMatrix()
Method Detail

getAffineTransform

protected abstract java.awt.geom.AffineTransform getAffineTransform()
Returns the associated AffineTransform.


getA

public float getA()
Implements SVGMatrix.getA()>SVGMatrix.getA() 55 .

Specified by:
getA in interface org.w3c.dom.svg.SVGMatrix

setA

public void setA(float a)
          throws org.w3c.dom.DOMException
Implements SVGMatrix.setA(float)>SVGMatrix.setA(float) 55 .

Specified by:
setA in interface org.w3c.dom.svg.SVGMatrix

getB

public float getB()
Implements SVGMatrix.getB()>SVGMatrix.getB() 55 .

Specified by:
getB in interface org.w3c.dom.svg.SVGMatrix

setB

public void setB(float b)
          throws org.w3c.dom.DOMException
Implements SVGMatrix.setB(float)>SVGMatrix.setB(float) 55 .

Specified by:
setB in interface org.w3c.dom.svg.SVGMatrix

getC

public float getC()
Implements SVGMatrix.getC()>SVGMatrix.getC() 55 .

Specified by:
getC in interface org.w3c.dom.svg.SVGMatrix

setC

public void setC(float c)
          throws org.w3c.dom.DOMException
Implements SVGMatrix.setC(float)>SVGMatrix.setC(float) 55 .

Specified by:
setC in interface org.w3c.dom.svg.SVGMatrix

getD

public float getD()
Implements SVGMatrix.getD()>SVGMatrix.getD() 55 .

Specified by:
getD in interface org.w3c.dom.svg.SVGMatrix

setD

public void setD(float d)
          throws org.w3c.dom.DOMException
Implements SVGMatrix.setD(float)>SVGMatrix.setD(float) 55 .

Specified by:
setD in interface org.w3c.dom.svg.SVGMatrix

getE

public float getE()
Implements SVGMatrix.getE()>SVGMatrix.getE() 55 .

Specified by:
getE in interface org.w3c.dom.svg.SVGMatrix

setE

public void setE(float e)
          throws org.w3c.dom.DOMException
Implements SVGMatrix.setE(float)>SVGMatrix.setE(float) 55 .

Specified by:
setE in interface org.w3c.dom.svg.SVGMatrix

getF

public float getF()
Implements SVGMatrix.getF()>SVGMatrix.getF() 55 .

Specified by:
getF in interface org.w3c.dom.svg.SVGMatrix

setF

public void setF(float f)
          throws org.w3c.dom.DOMException
Implements SVGMatrix.setF(float)>SVGMatrix.setF(float) 55 .

Specified by:
setF in interface org.w3c.dom.svg.SVGMatrix

multiply

public org.w3c.dom.svg.SVGMatrix multiply(org.w3c.dom.svg.SVGMatrix secondMatrix)
Implements SVGMatrix.multiply(SVGMatrix)>SVGMatrix.multiply(SVGMatrix) 55 .

Specified by:
multiply in interface org.w3c.dom.svg.SVGMatrix

inverse

public org.w3c.dom.svg.SVGMatrix inverse()
                                  throws org.w3c.dom.svg.SVGException
Implements SVGMatrix.inverse()>SVGMatrix.inverse() 55 .

Specified by:
inverse in interface org.w3c.dom.svg.SVGMatrix

translate

public org.w3c.dom.svg.SVGMatrix translate(float x,
                                           float y)
Implements SVGMatrix.translate(float,float)>SVGMatrix.translate(float,float) 55 .

Specified by:
translate in interface org.w3c.dom.svg.SVGMatrix

scale

public org.w3c.dom.svg.SVGMatrix scale(float scaleFactor)
Implements SVGMatrix.scale(float)>SVGMatrix.scale(float) 55 .

Specified by:
scale in interface org.w3c.dom.svg.SVGMatrix

scaleNonUniform

public org.w3c.dom.svg.SVGMatrix scaleNonUniform(float scaleFactorX,
                                                 float scaleFactorY)
Implements SVGMatrix.scaleNonUniform(float,float)>SVGMatrix.scaleNonUniform(float,float) 55 .

Specified by:
scaleNonUniform in interface org.w3c.dom.svg.SVGMatrix

rotate

public org.w3c.dom.svg.SVGMatrix rotate(float angle)
Implements SVGMatrix.rotate(float)>SVGMatrix.rotate(float) 55 .

Specified by:
rotate in interface org.w3c.dom.svg.SVGMatrix

rotateFromVector

public org.w3c.dom.svg.SVGMatrix rotateFromVector(float x,
                                                  float y)
                                           throws org.w3c.dom.svg.SVGException
Implements SVGMatrix.rotateFromVector(float,float)>SVGMatrix.rotateFromVector(float,float) 55 .

Specified by:
rotateFromVector in interface org.w3c.dom.svg.SVGMatrix

flipX

public org.w3c.dom.svg.SVGMatrix flipX()
Implements SVGMatrix.flipX()>SVGMatrix.flipX() 55 .

Specified by:
flipX in interface org.w3c.dom.svg.SVGMatrix

flipY

public org.w3c.dom.svg.SVGMatrix flipY()
Implements SVGMatrix.flipY()>SVGMatrix.flipY() 55 .

Specified by:
flipY in interface org.w3c.dom.svg.SVGMatrix

skewX

public org.w3c.dom.svg.SVGMatrix skewX(float angle)
Implements SVGMatrix.skewX(float)>SVGMatrix.skewX(float) 55 .

Specified by:
skewX in interface org.w3c.dom.svg.SVGMatrix

skewY

public org.w3c.dom.svg.SVGMatrix skewY(float angle)
Implements SVGMatrix.skewY(float)>SVGMatrix.skewY(float) 55 .

Specified by:
skewY in interface org.w3c.dom.svg.SVGMatrix