Package org.apache.batik.parser
Interface TransformListHandler
-
- All Known Subinterfaces:
FragmentIdentifierHandler
- All Known Implementing Classes:
AbstractSVGTransformList.TransformListBuilder,AWTTransformProducer,DefaultFragmentIdentifierHandler,DefaultTransformListHandler,ViewBox.ViewHandler
public interface TransformListHandlerThis interface must be implemented and then registred as the handler of aTransformParserinstance in order to be notified of parsing events.- Version:
- $Id: TransformListHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendTransformList()Invoked when the transform ends.voidmatrix(float a, float b, float c, float d, float e, float f)Invoked when 'matrix(a, b, c, d, e, f)' has been parsed.voidrotate(float theta)Invoked when 'rotate(theta)' has been parsed.voidrotate(float theta, float cx, float cy)Invoked when 'rotate(theta, cx, cy)' has been parsed.voidscale(float sx)Invoked when 'scale(sx)' has been parsed.voidscale(float sx, float sy)Invoked when 'scale(sx, sy)' has been parsed.voidskewX(float skx)Invoked when 'skewX(skx)' has been parsed.voidskewY(float sky)Invoked when 'skewY(sky)' has been parsed.voidstartTransformList()Invoked when the tranform starts.voidtranslate(float tx)Invoked when 'translate(tx)' has been parsed.voidtranslate(float tx, float ty)Invoked when 'translate(tx, ty)' has been parsed.
-
-
-
Method Detail
-
startTransformList
void startTransformList() throws ParseExceptionInvoked when the tranform starts.- Throws:
ParseException- if an error occured while processing the transform
-
matrix
void matrix(float a, float b, float c, float d, float e, float f) throws ParseExceptionInvoked when 'matrix(a, b, c, d, e, f)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
rotate
void rotate(float theta) throws ParseExceptionInvoked when 'rotate(theta)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
rotate
void rotate(float theta, float cx, float cy) throws ParseExceptionInvoked when 'rotate(theta, cx, cy)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
translate
void translate(float tx) throws ParseExceptionInvoked when 'translate(tx)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
translate
void translate(float tx, float ty) throws ParseExceptionInvoked when 'translate(tx, ty)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
scale
void scale(float sx) throws ParseExceptionInvoked when 'scale(sx)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
scale
void scale(float sx, float sy) throws ParseExceptionInvoked when 'scale(sx, sy)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
skewX
void skewX(float skx) throws ParseExceptionInvoked when 'skewX(skx)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
skewY
void skewY(float sky) throws ParseExceptionInvoked when 'skewY(sky)' has been parsed.- Throws:
ParseException- if an error occured while processing the transform
-
endTransformList
void endTransformList() throws ParseExceptionInvoked when the transform ends.- Throws:
ParseException- if an error occured while processing the transform
-
-