A polygon defines a closed shape consisting of a set of connected straight line segments.
1 | draw_polygon(x, y, fill, stroke, class)
|
x, y |
vectors containing the coordinates of the vertices of the polygon. |
stroke |
expression setting the |
fill |
expression defining the |
class |
expression defining the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.