|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.intermediate.AffineTransformArrayParser
public class AffineTransformArrayParser
This class parses a sequence of transformations into an array of AffineTransform
instances.
| Constructor Summary | |
|---|---|
AffineTransformArrayParser()
|
|
| Method Summary | |
|---|---|
static java.awt.geom.AffineTransform[] |
createAffineTransform(java.io.Reader r)
Utility method for creating an AffineTransform array. |
static java.awt.geom.AffineTransform[] |
createAffineTransform(java.lang.String s)
Utility method for creating an AffineTransform. |
void |
endTransformList()
|
java.awt.geom.AffineTransform[] |
getAffineTransforms()
Returns the AffineTransform array initialized during the last parsing. |
void |
matrix(float a,
float b,
float c,
float d,
float e,
float f)
|
void |
rotate(float theta)
|
void |
rotate(float theta,
float cx,
float cy)
|
void |
scale(float sx)
|
void |
scale(float sx,
float sy)
|
void |
skewX(float skx)
|
void |
skewY(float sky)
|
void |
startTransformList()
|
void |
translate(float tx)
|
void |
translate(float tx,
float ty)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AffineTransformArrayParser()
| Method Detail |
|---|
public static java.awt.geom.AffineTransform[] createAffineTransform(java.io.Reader r)
throws org.apache.batik.parser.ParseException
r - The reader used to read the transform specification.
org.apache.batik.parser.ParseException - if there's a parse error
public static java.awt.geom.AffineTransform[] createAffineTransform(java.lang.String s)
throws org.apache.batik.parser.ParseException
s - The transform specification.
org.apache.batik.parser.ParseException - if there's a parse errorpublic java.awt.geom.AffineTransform[] getAffineTransforms()
public void startTransformList()
throws org.apache.batik.parser.ParseException
startTransformList in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void matrix(float a,
float b,
float c,
float d,
float e,
float f)
throws org.apache.batik.parser.ParseException
matrix in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void rotate(float theta)
throws org.apache.batik.parser.ParseException
rotate in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void rotate(float theta,
float cx,
float cy)
throws org.apache.batik.parser.ParseException
rotate in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void translate(float tx)
throws org.apache.batik.parser.ParseException
translate in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void translate(float tx,
float ty)
throws org.apache.batik.parser.ParseException
translate in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void scale(float sx)
throws org.apache.batik.parser.ParseException
scale in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void scale(float sx,
float sy)
throws org.apache.batik.parser.ParseException
scale in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void skewX(float skx)
throws org.apache.batik.parser.ParseException
skewX in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void skewY(float sky)
throws org.apache.batik.parser.ParseException
skewY in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
public void endTransformList()
throws org.apache.batik.parser.ParseException
endTransformList in interface org.apache.batik.parser.TransformListHandlerorg.apache.batik.parser.ParseException
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||