Skip to contents

svg d path commands

Uppercase svg d path commands use absolute coordinates and lowercase commands use relative coordinates. Lowercase svg d path command functions are all duplicated letters (i.e. aa(), cc(), etc.) in order to avoid conflicts with base c(), q(), and t(). Commands ending in a Z() or z() are convenience funcctions that add a Z or z to the end of the indicated svg d path command.

A() aa() AZ() az()
The elliptical arc curve commands
C() cc() CZ() cz() S() ss() SZ() sz()
The cubic Bézier curve commands
L() ll() LZ() lz() H() hh() HZ() hz() V() vv() VZ() vz()
The "lineto" commands
M() mm() MZ() mz()
The "moveto" commands
Q() qq() QZ() qz() T() tt() TZ() tz()
The quadratic Bézier curve commands
Z() zz()
The "closepath" commands

svg d path convenience wrappers

These functions are convenience wrappers to help build svg d paths for some shapes of interest. They all use absolute coordinates.

d_aabb()
Axis-aligned bounding box convenience wrapper
d_arc1() d_arc2() d_arc3() d_arc4() d_arc12() d_arc23() d_arc34() d_arc41() d_arc123() d_arc234() d_arc341() d_arc412()
Elliptical arc path convenience wrapper
d_fslash() d_bslash()
Forward/backward slash path convenience wrapper
d_ellipse() d_circle()
Ellipse path convenience wrapper
d_isotoxal_2ngon() d_star()
Isotoxal 2n-gon path convenience wrapper
d_regular_ngon()
Regular n-gon path convenience wrapper
d_polygon()
Polygon path convenience wrapper
d_rect()
Rectangle path convenience wrapper

dee class objects

as_omsvg()
Convert to an omsvg "svg" class object
dee()
Build an object of class "dee"
plot(<dee>)
Plot an object of class "dee"

Miscellaneous helper functions

Package options

dee_options()
Get dee options
dee-package
dee: Tools to Construct SVG Path 'd' Attributes