Constructor
new DotElement(g, center, options)
Create a new DotElement
Parameters:
Name | Type | Description |
---|---|---|
g |
p5.Graphics | The graphics object to draw to. |
center |
Point | The position of the dot. |
options |
DotElementOptions | A map of values to be loaded into instance variables. |
Methods
draw()
Draw the Dot.