org.apache.batik.parser
public class PathArrayProducer extends Object implements PathHandler
Field Summary | |
---|---|
protected short[] | c
The current short[] object. |
protected int | ccount
The total number of path commands accumulated. |
protected int | cindex
The index in which to store the next path command. |
protected LinkedList | cs
List of short[] objects. |
protected float[] | p
The current float[] object. |
protected int | pcount
The total number of path parameters accumulated. |
protected int | pindex
The index in which to store the next path parameter. |
protected LinkedList | ps
List of float[] objects. |
Method Summary | |
---|---|
void | arcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Implements PathHandler. |
void | arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Implements PathHandler. |
void | closePath()
Implements closePath. |
protected void | command(short val)
Adds a path command to the list. |
void | curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y)
Implements PathHandler. |
void | curvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y)
Implements PathHandler. |
void | curvetoCubicSmoothAbs(float x2, float y2, float x, float y)
Implements PathHandler. |
void | curvetoCubicSmoothRel(float x2, float y2, float x, float y)
Implements PathHandler. |
void | curvetoQuadraticAbs(float x1, float y1, float x, float y)
Implements PathHandler. |
void | curvetoQuadraticRel(float x1, float y1, float x, float y)
Implements PathHandler. |
void | curvetoQuadraticSmoothAbs(float x, float y)
Implements PathHandler. |
void | curvetoQuadraticSmoothRel(float x, float y)
Implements PathHandler. |
void | endPath()
Implements endPath. |
short[] | getPathCommands()
Returns the array of path commands accumulated. |
float[] | getPathParameters()
Returns the array of path parameters accumulated. |
void | linetoAbs(float x, float y)
Implements PathHandler. |
void | linetoHorizontalAbs(float x)
Implements PathHandler. |
void | linetoHorizontalRel(float x)
Implements PathHandler. |
void | linetoRel(float x, float y)
Implements PathHandler. |
void | linetoVerticalAbs(float y)
Implements PathHandler. |
void | linetoVerticalRel(float y)
Implements PathHandler. |
void | movetoAbs(float x, float y)
Implements PathHandler. |
void | movetoRel(float x, float y)
Implements PathHandler. |
protected void | param(float val)
Adds a path parameter to the list. |
void | startPath()
Implements startPath. |
short[]
object.short[]
objects.float[]
object.float[]
objects.