P46

Draw Commands

Move without drawing
Pattern:
move to <node>
Examples:
move to D3 => M 3 3move to M8 => M 12 8
Draw a line
Pattern:
line to <node>
Examples:
line to D3 => L 3 3line to M8 => L 12 8
Draw cubic curve
Pattern:
[cubic] curve to <node> control with <node> [and <node>]
Examples:
curve to M8 control with D3 => S 3 3 12 8curve to M8 control with D3 and F6 => C 3 3 6 6 12 8
Draw quadratic curve
Pattern:
(quad | quadratic) curve to <node> [control with <node>]
Examples:
quadratic curve to M8 => T 12 8quad curve to M8 control with D3 => Q 3 3 12 8
Draw an arc
Pattern:
arc to <node> with radius <number> and <number> [and rotation <number>] [and is large] [and is sweeping]
Examples:
arc to M8 with radius 6 and 10 => A 6 10 0 0 0 12 8arc to M8 with radius 6 and 10 and rotation 45 => A 6 10 45 0 0 12 8arc to M8 with radius 6 and 10 and is large => A 6 10 0 1 0 12 8arc to M8 with radius 6 and 10 and is sweeping => A 6 10 0 0 1 12 8arc to M8 with radius 6 and 10 and rotation 45 and is large and is sweeping => A 6 10 45 1 1 12 8
Connect to the start of the shape
Pattern:
close (connects the ends of the shape together)
Examples:
close => Z
Line width 1
Download SVG