/** * Implements {@link PointsHandler#point(float,float)}. */ public void point(float x, float y) throws ParseException { listHandler.item(new SVGPointItem(x, y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#curvetoQuadraticSmoothRel(float,float)}. */ public void curvetoQuadraticSmoothRel(float x, float y) throws ParseException { listHandler.item(new SVGPathSegCurvetoQuadraticSmoothItem (SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL_LETTER, x,y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#closePath()}. */ public void closePath() throws ParseException { listHandler.item(new SVGPathSegItem (SVGPathSeg.PATHSEG_CLOSEPATH,PATHSEG_CLOSEPATH_LETTER)); }
/** * Implements {@link PointsHandler#point(float,float)}. */ public void point(float x, float y) throws ParseException { listHandler.item(new SVGPointItem(x, y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#movetoRel(float,float)}. */ public void movetoRel(float x, float y) throws ParseException { listHandler.item(new SVGPathSegMovetoLinetoItem(SVGPathSeg.PATHSEG_MOVETO_REL, PATHSEG_MOVETO_REL_LETTER, x, y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#linetoHorizontalRel(float)}. */ public void linetoHorizontalRel(float x) throws ParseException { listHandler.item(new SVGPathSegLinetoHorizontalItem(SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL, PATHSEG_LINETO_HORIZONTAL_REL_LETTER, x)); }
/** * Implements {@link * org.apache.batik.parser.PathHandler#curvetoCubicSmoothAbs(float,float,float,float)}. */ public void curvetoCubicSmoothAbs(float x2, float y2, float x, float y) throws ParseException { listHandler.item(new SVGPathSegCurvetoCubicSmoothItem(SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS, PATHSEG_CURVETO_CUBIC_SMOOTH_ABS_LETTER, x2, y2, x, y)); }
/** * Implements {@link * org.apache.batik.parser.PathHandler#curvetoQuadraticAbs(float,float,float,float)}. */ public void curvetoQuadraticAbs(float x1, float y1, float x, float y) throws ParseException { listHandler.item(new SVGPathSegCurvetoQuadraticItem(SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS, PATHSEG_CURVETO_QUADRATIC_ABS_LETTER, x1, y1, x, y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#linetoRel(float,float)}. */ public void linetoRel(float x, float y) throws ParseException { listHandler.item(new SVGPathSegMovetoLinetoItem (SVGPathSeg.PATHSEG_LINETO_REL,PATHSEG_LINETO_REL_LETTER, x,y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#linetoHorizontalRel(float)}. */ public void linetoHorizontalRel(float x) throws ParseException { listHandler.item(new SVGPathSegLinetoHorizontalItem (SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,PATHSEG_LINETO_HORIZONTAL_REL_LETTER, x)); }
/** * Implements {@link * org.apache.batik.parser.PathHandler#curvetoCubicAbs(float,float,float,float,float,float)}. */ public void curvetoCubicAbs(float x1, float y1, float x2, float y2, float x, float y) throws ParseException { listHandler.item(new SVGPathSegCurvetoCubicItem (SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,PATHSEG_CURVETO_CUBIC_ABS_LETTER, x1,y1,x2,y2,x,y)); }
/** * Implements {@link * org.apache.batik.parser.PathHandler#curvetoQuadraticRel(float,float,float,float)}. */ public void curvetoQuadraticRel(float x1, float y1, float x, float y) throws ParseException { listHandler.item(new SVGPathSegCurvetoQuadraticItem (SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,PATHSEG_CURVETO_QUADRATIC_REL_LETTER, x1,y1,x,y)); }
/** * Implements {@link org.apache.batik.parser.PathHandler#movetoRel(float,float)}. */ public void movetoRel(float x, float y) throws ParseException { listHandler.item(new SVGPathSegMovetoLinetoItem (SVGPathSeg.PATHSEG_MOVETO_REL,PATHSEG_MOVETO_REL_LETTER, x,y)); }
/** * Implements {@link * org.apache.batik.parser.PathHandler#arcRel(float,float,float,boolean,boolean,float,float)}. */ public void arcRel(float rx, float ry, float xAxisRotation, boolean largeArcFlag, boolean sweepFlag, float x, float y) throws ParseException { listHandler.item(new SVGPathSegArcItem (SVGPathSeg.PATHSEG_ARC_REL,PATHSEG_ARC_REL_LETTER, rx,ry,xAxisRotation,largeArcFlag,sweepFlag,x,y)); }
/** * Implements {@link NumberListHandler#endNumber()}. */ public void endNumber() throws ParseException { listHandler.item(new SVGNumberItem(currentValue)); }
/** * Implements {@link TransformListHandler#scale(float)}. */ public void scale(float sx) throws ParseException { SVGTransformItem item = new SVGTransformItem(); item.scale(sx); listHandler.item(item); }
/** * Implements {@link TransformListHandler#skewY(float)}. */ public void skewY(float sky) throws ParseException { SVGTransformItem item = new SVGTransformItem(); item.setSkewY(sky); listHandler.item(item); }
/** * Implements {@link TransformListHandler#rotate(float,float,float)}. */ public void rotate(float theta, float cx, float cy) throws ParseException { SVGTransformItem item = new SVGTransformItem(); item.setRotate(theta, cx, cy); listHandler.item(item); }
/** * Implements {@link TransformListHandler#scale(float)}. */ public void scale(float sx) throws ParseException { SVGTransformItem item = new SVGTransformItem(); item.scale(sx); listHandler.item(item); }
/** * Implements {@link TransformListHandler#skewX(float)}. */ public void skewX(float skx) throws ParseException { SVGTransformItem item = new SVGTransformItem(); item.setSkewX(skx); listHandler.item(item); }