|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.AbstractSVGTransform
Abstract implementation for SVGTransform. This is the base implementation for SVGTransform
Field Summary | |
---|---|
protected java.awt.geom.AffineTransform |
affineTransform
AffineTranform associated to the SVGTransform Java2D representation of the SVGTransform. |
protected float |
angle
Angle associated to the transform. |
protected short |
type
Type of the transformation. |
protected float |
x
|
protected float |
y
|
Fields inherited from interface org.w3c.dom.svg.SVGTransform |
---|
SVG_TRANSFORM_MATRIX, SVG_TRANSFORM_ROTATE, SVG_TRANSFORM_SCALE, SVG_TRANSFORM_SKEWX, SVG_TRANSFORM_SKEWY, SVG_TRANSFORM_TRANSLATE, SVG_TRANSFORM_UNKNOWN |
Constructor Summary | |
---|---|
protected |
AbstractSVGTransform()
Default constructor. |
Method Summary | |
---|---|
protected abstract SVGMatrix |
createMatrix()
Create a SVGMatrix associated to the transform. |
float |
getAngle()
|
SVGMatrix |
getMatrix()
|
short |
getType()
|
protected float |
getX()
|
protected float |
getY()
|
void |
setMatrix(SVGMatrix matrix)
|
void |
setRotate(float angle,
float cx,
float cy)
|
void |
setScale(float sx,
float sy)
|
void |
setSkewX(float angle)
|
void |
setSkewY(float angle)
|
void |
setTranslate(float tx,
float ty)
|
protected void |
setType(short type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected short type
protected java.awt.geom.AffineTransform affineTransform
protected float angle
protected float x
protected float y
Constructor Detail |
protected AbstractSVGTransform()
Method Detail |
protected abstract SVGMatrix createMatrix()
protected void setType(short type)
protected float getX()
protected float getY()
public short getType()
getType
in interface SVGTransform
public SVGMatrix getMatrix()
getMatrix
in interface SVGTransform
public float getAngle()
getAngle
in interface SVGTransform
public void setMatrix(SVGMatrix matrix)
setMatrix
in interface SVGTransform
public void setTranslate(float tx, float ty)
setTranslate
in interface SVGTransform
public void setScale(float sx, float sy)
setScale
in interface SVGTransform
public void setRotate(float angle, float cx, float cy)
setRotate
in interface SVGTransform
public void setSkewX(float angle)
setSkewX
in interface SVGTransform
public void setSkewY(float angle)
setSkewY
in interface SVGTransform
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |