org.apache.batik.parser

Interface TransformListHandler

public interface TransformListHandler

This interface must be implemented and then registred as the handler of a TransformParser instance in order to be notified of parsing events.
Method Summary
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

endTransformList

public void endTransformList()
Invoked when the transform ends.

Throws: ParseException if an error occured while processing the transform

matrix

public void matrix(float a, float b, float c, float d, float e, float f)
Invoked when 'matrix(a, b, c, d, e, f)' has been parsed.

Throws: ParseException if an error occured while processing the transform

rotate

public void rotate(float theta)
Invoked when 'rotate(theta)' has been parsed.

Throws: ParseException if an error occured while processing the transform

rotate

public void rotate(float theta, float cx, float cy)
Invoked when 'rotate(theta, cx, cy)' has been parsed.

Throws: ParseException if an error occured while processing the transform

scale

public void scale(float sx)
Invoked when 'scale(sx)' has been parsed.

Throws: ParseException if an error occured while processing the transform

scale

public void scale(float sx, float sy)
Invoked when 'scale(sx, sy)' has been parsed.

Throws: ParseException if an error occured while processing the transform

skewX

public void skewX(float skx)
Invoked when 'skewX(skx)' has been parsed.

Throws: ParseException if an error occured while processing the transform

skewY

public void skewY(float sky)
Invoked when 'skewY(sky)' has been parsed.

Throws: ParseException if an error occured while processing the transform

startTransformList

public void startTransformList()
Invoked when the tranform starts.

Throws: ParseException if an error occured while processing the transform

translate

public void translate(float tx)
Invoked when 'translate(tx)' has been parsed.

Throws: ParseException if an error occured while processing the transform

translate

public void translate(float tx, float ty)
Invoked when 'translate(tx, ty)' has been parsed.

Throws: ParseException if an error occured while processing the transform

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.