public class AWTTransformProducer extends java.lang.Object implements TransformListHandler
Modifier and Type | Field and Description |
---|---|
protected java.awt.geom.AffineTransform |
affineTransform
The value of the current affine transform.
|
Constructor and Description |
---|
AWTTransformProducer() |
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.AffineTransform |
createAffineTransform(java.io.Reader r)
Utility method for creating an AffineTransform.
|
static java.awt.geom.AffineTransform |
createAffineTransform(java.lang.String s)
Utility method for creating an AffineTransform.
|
void |
endTransformList()
Implements
TransformListHandler.endTransformList() . |
java.awt.geom.AffineTransform |
getAffineTransform()
Returns the AffineTransform object initialized during the last parsing.
|
void |
matrix(float a,
float b,
float c,
float d,
float e,
float f)
|
void |
rotate(float theta)
Implements
TransformListHandler.rotate(float) . |
void |
rotate(float theta,
float cx,
float cy)
Implements
TransformListHandler.rotate(float,float,float) . |
void |
scale(float sx)
Implements
TransformListHandler.scale(float) . |
void |
scale(float sx,
float sy)
Implements
TransformListHandler.scale(float,float) . |
void |
skewX(float skx)
Implements
TransformListHandler.skewX(float) . |
void |
skewY(float sky)
Implements
TransformListHandler.skewY(float) . |
void |
startTransformList()
Implements
TransformListHandler.startTransformList() . |
void |
translate(float tx)
Implements
TransformListHandler.translate(float) . |
void |
translate(float tx,
float ty)
Implements
TransformListHandler.translate(float,float) . |
protected java.awt.geom.AffineTransform affineTransform
public static java.awt.geom.AffineTransform createAffineTransform(java.io.Reader r) throws ParseException
r
- The reader used to read the transform specification.ParseException
public static java.awt.geom.AffineTransform createAffineTransform(java.lang.String s) throws ParseException
s
- The transform specification.ParseException
public java.awt.geom.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
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 transformCopyright © 2022 Apache Software Foundation. All Rights Reserved.