|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.parser.AWTTransformProducer
public class AWTTransformProducer
This class provides an implementation of the PathHandler that initializes an AffineTransform from the value of a 'transform' attribute.
Field Summary | |
---|---|
protected AffineTransform |
affineTransform
The value of the current affine transform. |
Constructor Summary | |
---|---|
AWTTransformProducer()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AffineTransform affineTransform
Constructor Detail |
---|
public AWTTransformProducer()
Method Detail |
---|
public static AffineTransform createAffineTransform(Reader r) throws ParseException
r
- The reader used to read the transform specification.
ParseException
public static AffineTransform createAffineTransform(String s) throws ParseException
s
- The transform specification.
ParseException
public AffineTransform getAffineTransform()
public void startTransformList() throws ParseException
TransformListHandler.startTransformList()
.
startTransformList
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void matrix(float a, float b, float c, float d, float e, float f) throws ParseException
TransformListHandler.matrix(float,float,float,float,float,float)
.
matrix
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void rotate(float theta) throws ParseException
TransformListHandler.rotate(float)
.
rotate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void rotate(float theta, float cx, float cy) throws ParseException
TransformListHandler.rotate(float,float,float)
.
rotate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void translate(float tx) throws ParseException
TransformListHandler.translate(float)
.
translate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void translate(float tx, float ty) throws ParseException
TransformListHandler.translate(float,float)
.
translate
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void scale(float sx) throws ParseException
TransformListHandler.scale(float)
.
scale
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void scale(float sx, float sy) throws ParseException
TransformListHandler.scale(float,float)
.
scale
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void skewX(float skx) throws ParseException
TransformListHandler.skewX(float)
.
skewX
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void skewY(float sky) throws ParseException
TransformListHandler.skewY(float)
.
skewY
in interface TransformListHandler
ParseException
- if an error occured while processing
the transformpublic void endTransformList() throws ParseException
TransformListHandler.endTransformList()
.
endTransformList
in interface TransformListHandler
ParseException
- if an error occured while processing
the transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |