Package org.loboevolution.svg
Interface SVGMatrix
- All Known Implementing Classes:
SVGMatrixImpl
public interface SVGMatrix
SVGMatrix interface.
-
Method Summary
Modifier and TypeMethodDescriptionflipX()flipX.flipY()flipY.floatgetA()getA.getAffineTransform.floatgetB()getB.floatgetC()getC.floatgetD()getD.floatgetE()getE.floatgetF()getF.inverse()inverse.multiply.rotate(float angle) rotate.rotateFromVector(float x, float y) rotateFromVector.scale(float scaleFactor) scale.scaleNonUniform(float scaleFactorX, float scaleFactorY) scaleNonUniform.voidsetA(float a) setA.voidsetB(float b) setB.voidsetC(float c) setC.voidsetD(float d) setD.voidsetE(float e) setE.voidsetF(float f) setF.skewX(float angle) skewX.skewY(float angle) skewY.translate(float x, float y) translate.
-
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
multiply.
-
inverse
inverse.
- Returns:
- a
SVGMatrixobject. - Throws:
SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
translate
translate.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGMatrixobject.
-
scale
scale.
- Parameters:
scaleFactor- a float.- Returns:
- a
SVGMatrixobject.
-
scaleNonUniform
scaleNonUniform.
- Parameters:
scaleFactorX- a float.scaleFactorY- a float.- Returns:
- a
SVGMatrixobject.
-
rotate
rotate.
- Parameters:
angle- a float.- Returns:
- a
SVGMatrixobject.
-
rotateFromVector
rotateFromVector.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGMatrixobject. - Throws:
SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.SVGException- if any.
-
flipX
SVGMatrix flipX()flipX.
- Returns:
- a
SVGMatrixobject.
-
flipY
SVGMatrix flipY()flipY.
- Returns:
- a
SVGMatrixobject.
-
skewX
skewX.
- Parameters:
angle- a float.- Returns:
- a
SVGMatrixobject.
-
skewY
skewY.
- Parameters:
angle- a float.- Returns:
- a
SVGMatrixobject.
-
getAffineTransform
AffineTransform getAffineTransform()getAffineTransform.
- Returns:
- a
AffineTransformobject.
-