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.
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top