Skip to content

Instantly share code, notes, and snippets.

@19h47
Last active September 13, 2017 07:19
Show Gist options
  • Save 19h47/c689bacc68ffbe8fdde5deda41f4a4d6 to your computer and use it in GitHub Desktop.
Save 19h47/c689bacc68ffbe8fdde5deda41f4a4d6 to your computer and use it in GitHub Desktop.
SVG Path

Path

Each letters are commands followed by parameters, most of the time it's coordinates.

When the letter is uppercase it means that the coordinates are absolutes, when the letter is lowercase, it means that they are relatives.

Command Name Parameters
M or m moveto
C or c curveto
S or s smooth curveto
V or v vertical lineto
L or l lineto
Z or z closepath

Source https://www.w3.org/TR/SVG/paths.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment