org.apache.batik.parser
public interface PathHandler
PathParser
instance in order to be
notified of parsing events.
Method Summary | |
---|---|
void | arcAbs(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Invoked when an absolute elliptical arc command has been parsed.
|
void | arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y)
Invoked when a relative elliptical arc command has been parsed.
|
void | closePath()
Invoked when a closepath has been parsed.
|
void | curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y)
Invoked when an absolute cubic bezier curve command has been parsed.
|
void | curvetoCubicRel(float x1, float y1, float x2, float y2, float x, float y)
Invoked when a relative cubic bezier curve command has been parsed.
|
void | curvetoCubicSmoothAbs(float x2, float y2, float x, float y)
Invoked when an absolute smooth cubic bezier curve command has
been parsed. |
void | curvetoCubicSmoothRel(float x2, float y2, float x, float y)
Invoked when a relative smooth cubic bezier curve command has
been parsed. |
void | curvetoQuadraticAbs(float x1, float y1, float x, float y)
Invoked when an absolute quadratic bezier curve command has been parsed.
|
void | curvetoQuadraticRel(float x1, float y1, float x, float y)
Invoked when a relative quadratic bezier curve command has been parsed.
|
void | curvetoQuadraticSmoothAbs(float x, float y)
Invoked when an absolute smooth quadratic bezier curve command
has been parsed. |
void | curvetoQuadraticSmoothRel(float x, float y)
Invoked when a relative smooth quadratic bezier curve command
has been parsed. |
void | endPath()
Invoked when the path ends. |
void | linetoAbs(float x, float y)
Invoked when an absolute line command has been parsed.
|
void | linetoHorizontalAbs(float x)
Invoked when an horizontal absolute line command has been parsed.
|
void | linetoHorizontalRel(float x)
Invoked when an horizontal relative line command has been parsed.
|
void | linetoRel(float x, float y)
Invoked when a relative line command has been parsed.
|
void | linetoVerticalAbs(float y)
Invoked when a vertical absolute line command has been parsed.
|
void | linetoVerticalRel(float y)
Invoked when a vertical relative line command has been parsed.
|
void | movetoAbs(float x, float y)
Invoked when an absolute moveto command has been parsed.
|
void | movetoRel(float x, float y)
Invoked when a relative moveto command has been parsed.
|
void | startPath()
Invoked when the path starts. |
Command : A
Parameters: rx the X axis radius for the ellipse ry the Y axis radius for the ellipse xAxisRotation the rotation angle in degrees for the ellipse's X-axis relative to the X-axis largeArcFlag the value of the large-arc-flag sweepFlag the value of the sweep-flag x the absolute x coordinate for the end point y the absolute y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : a
Parameters: rx the X axis radius for the ellipse ry the Y axis radius for the ellipse xAxisRotation the rotation angle in degrees for the ellipse's X-axis relative to the X-axis largeArcFlag the value of the large-arc-flag sweepFlag the value of the sweep-flag x the relative x coordinate for the end point y the relative y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : z | Z
Throws: ParseException if an error occured while processing the path
Command : C
Parameters: x1 the absolute x coordinate for the first control point y1 the absolute y coordinate for the first control point x2 the absolute x coordinate for the second control point y2 the absolute y coordinate for the second control point x the absolute x coordinate for the end point y the absolute y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : c
Parameters: x1 the relative x coordinate for the first control point y1 the relative y coordinate for the first control point x2 the relative x coordinate for the second control point y2 the relative y coordinate for the second control point x the relative x coordinate for the end point y the relative y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : S
Parameters: x2 the absolute x coordinate for the second control point y2 the absolute y coordinate for the second control point x the absolute x coordinate for the end point y the absolute y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : s
Parameters: x2 the relative x coordinate for the second control point y2 the relative y coordinate for the second control point x the relative x coordinate for the end point y the relative y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : Q
Parameters: x1 the absolute x coordinate for the control point y1 the absolute y coordinate for the control point x the absolute x coordinate for the end point y the absolute x coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : q
Parameters: x1 the relative x coordinate for the control point y1 the relative y coordinate for the control point x the relative x coordinate for the end point y the relative x coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : T
Parameters: x the absolute x coordinate for the end point y the absolute y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : t
Parameters: x the relative x coordinate for the end point y the relative y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Throws: ParseException if an error occured while processing the path
Command : L
Parameters: x the absolute x coordinate for the end point y the absolute y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : H
Parameters: x the absolute X coordinate of the end point
Throws: ParseException if an error occured while processing the path
Command : h
Parameters: x the relative X coordinate of the end point
Throws: ParseException if an error occured while processing the path
Command : l
Parameters: x the relative x coordinates for the end point y the relative y coordinates for the end point
Throws: ParseException if an error occured while processing the path
Command : V
Parameters: y the absolute Y coordinate of the end point
Throws: ParseException if an error occured while processing the path
Command : v
Parameters: y the relative Y coordinate of the end point
Throws: ParseException if an error occured while processing the path
Command : M
Parameters: x the absolute x coordinate for the end point y the absolute y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Command : m
Parameters: x the relative x coordinate for the end point y the relative y coordinate for the end point
Throws: ParseException if an error occured while processing the path
Throws: ParseException if an error occured while processing the path