XML technologies / SVG / Using complex graphic elements and formatting / Creating complex elements with Bézier curves / The letter V

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

V is the easiest letter, so start there. Each side needs two straight lines with rounded ends at top and bottom. A simple path of lines and arcs suffices. The d attribute of the <path> tag looks as follows:

d="M0 5 l+40 +110 a10 5 0 0 0 +20 +0 l+40 -110 a10 5 0 0 0 -20 +0 l-25 +70 a5 2.5 0 0 1 -10 +0 l-25 -70 a10 5 0 0 0 -20 +0"

The figure explains its components.

Constructing V from lines and arcs

Figure: Constructing V from lines and arcs.

   

 

 

 

back to top