DEV Community

Cover image for Rectangle Path with SVG
Zevan Rosser
Zevan Rosser

Posted on

Rectangle Path with SVG

In this snippet, rectPath creates a rectangle with “move to” and “line to” commands to be used in conjunction with SVG paths.

See more stuff like this over @ Snippet Zone

Discussion (0)