XML technologies / SVG / Using complex graphic elements and formatting / Using paths correctly / Creating curves with the A command

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

The A command creates curves as parts of an ellipse. Its syntax is:

A rx ry x-axis-rotation large-arc-flag sweep-flag x y

It draws an ellipse from the current position to the point x/y. As with the <ellipse> tag, the ellipse’s size and orientation are determined by the X- and Y-axis radii specified with rx and ry. The parameter x-axis-rotation specifies the ellipse’s rotation relative to the X axis. The ellipse’s center is calculated automatically using the parameters large-arc-flag and sweep-flag.

Note:
Since this command has already been explained in detail (see Creating curves and circles), no further example is provided here.

   

 

 

 

back to top