org.apache.batik.dom.svg

Class AbstractSVGMatrix

public abstract class AbstractSVGMatrix extends Object implements SVGMatrix

This class provides an abstract implementation of the SVGMatrix interface.
Field Summary
protected static AffineTransformFLIP_X_TRANSFORM
The transform used to implement flipX.
protected static AffineTransformFLIP_Y_TRANSFORM
The transform used to implement flipX.
Method Summary
SVGMatrixflipX()
Implements SVGMatrix#flipX().
SVGMatrixflipY()
Implements SVGMatrix#flipY().
floatgetA()
Implements SVGMatrix#getA().
protected abstract AffineTransformgetAffineTransform()
Returns the associated AffineTransform.
floatgetB()
Implements SVGMatrix#getB().
floatgetC()
Implements SVGMatrix#getC().
floatgetD()
Implements SVGMatrix#getD().
floatgetE()
Implements SVGMatrix#getE().
floatgetF()
Implements SVGMatrix#getF().
SVGMatrixinverse()
Implements SVGMatrix#inverse().
SVGMatrixmultiply(SVGMatrix secondMatrix)
Implements SVGMatrix#multiply(SVGMatrix).
SVGMatrixrotate(float angle)
Implements SVGMatrix#rotate(float).
SVGMatrixrotateFromVector(float x, float y)
Implements SVGMatrix#rotateFromVector(float,float).
SVGMatrixscale(float scaleFactor)
Implements SVGMatrix#scale(float).
SVGMatrixscaleNonUniform(float scaleFactorX, float scaleFactorY)
Implements SVGMatrix#scaleNonUniform(float,float).
voidsetA(float a)
Implements SVGMatrix#setA(float).
voidsetB(float b)
Implements SVGMatrix#setB(float).
voidsetC(float c)
Implements SVGMatrix#setC(float).
voidsetD(float d)
Implements SVGMatrix#setD(float).
voidsetE(float e)
Implements SVGMatrix#setE(float).
voidsetF(float f)
Implements SVGMatrix#setF(float).
SVGMatrixskewX(float angleDeg)
Implements SVGMatrix#skewX(float).
SVGMatrixskewY(float angleDeg)
Implements SVGMatrix#skewY(float).
SVGMatrixtranslate(float x, float y)
Implements SVGMatrix#translate(float,float).

Field Detail

FLIP_X_TRANSFORM

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

FLIP_Y_TRANSFORM

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

Method Detail

flipX

public SVGMatrix flipX()
Implements SVGMatrix#flipX().

flipY

public SVGMatrix flipY()
Implements SVGMatrix#flipY().

getA

public float getA()
Implements SVGMatrix#getA().

getAffineTransform

protected abstract AffineTransform getAffineTransform()
Returns the associated AffineTransform.

getB

public float getB()
Implements SVGMatrix#getB().

getC

public float getC()
Implements SVGMatrix#getC().

getD

public float getD()
Implements SVGMatrix#getD().

getE

public float getE()
Implements SVGMatrix#getE().

getF

public float getF()
Implements SVGMatrix#getF().

inverse

public SVGMatrix inverse()
Implements SVGMatrix#inverse().

multiply

public SVGMatrix multiply(SVGMatrix secondMatrix)
Implements SVGMatrix#multiply(SVGMatrix).

rotate

public SVGMatrix rotate(float angle)
Implements SVGMatrix#rotate(float).

rotateFromVector

public SVGMatrix rotateFromVector(float x, float y)
Implements SVGMatrix#rotateFromVector(float,float).

scale

public SVGMatrix scale(float scaleFactor)
Implements SVGMatrix#scale(float).

scaleNonUniform

public SVGMatrix scaleNonUniform(float scaleFactorX, float scaleFactorY)
Implements SVGMatrix#scaleNonUniform(float,float).

setA

public void setA(float a)
Implements SVGMatrix#setA(float).

setB

public void setB(float b)
Implements SVGMatrix#setB(float).

setC

public void setC(float c)
Implements SVGMatrix#setC(float).

setD

public void setD(float d)
Implements SVGMatrix#setD(float).

setE

public void setE(float e)
Implements SVGMatrix#setE(float).

setF

public void setF(float f)
Implements SVGMatrix#setF(float).

skewX

public SVGMatrix skewX(float angleDeg)
Implements SVGMatrix#skewX(float).

skewY

public SVGMatrix skewY(float angleDeg)
Implements SVGMatrix#skewY(float).

translate

public SVGMatrix translate(float x, float y)
Implements SVGMatrix#translate(float,float).
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.