XML technologies / SVG / Using complex graphic elements and formatting / Using paths correctly / Creating Bézier curves / The T command

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

If you have already drawn a Bézier curve in a path, for example using the Q command, use the T command to draw a second curve whose control point is calculated symmetrically to the previous line’s control point. The syntax is:

T x y

The following figure shows two Bézier curves in one path. The first is defined with the Q command, the second with the T command.

Bézier curve created with the Q and T commands

Figure: Bézier curve created with the Q and T commands.

Note:
The graphic marks the end of the first curve and beginning of the second. The guide lines to the calculated control point are lighter than those to the first curve’s defined control point.

   

 

 

 

back to top