|
|||||||||
| 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.
ParseExceptionpublic AffineTransform getAffineTransform()
public void startTransformList()
throws ParseException
TransformListHandler.startTransformList().
startTransformList in interface TransformListHandlerParseException - if an error occured while processing
the transform
public 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 TransformListHandlerParseException - if an error occured while processing
the transform
public void rotate(float theta)
throws ParseException
TransformListHandler.rotate(float).
rotate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void rotate(float theta,
float cx,
float cy)
throws ParseException
TransformListHandler.rotate(float,float,float).
rotate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void translate(float tx)
throws ParseException
TransformListHandler.translate(float).
translate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void translate(float tx,
float ty)
throws ParseException
TransformListHandler.translate(float,float).
translate in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void scale(float sx)
throws ParseException
TransformListHandler.scale(float).
scale in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void scale(float sx,
float sy)
throws ParseException
TransformListHandler.scale(float,float).
scale in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void skewX(float skx)
throws ParseException
TransformListHandler.skewX(float).
skewX in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void skewY(float sky)
throws ParseException
TransformListHandler.skewY(float).
skewY in interface TransformListHandlerParseException - if an error occured while processing
the transform
public void endTransformList()
throws ParseException
TransformListHandler.endTransformList().
endTransformList in interface TransformListHandlerParseException - if an error occured while processing
the transform
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||