new module:view/vizEntities/CircleGraphic(parent, r, color, screen)
Shows a circle at the parent object xy coordinates.
Animates the circle when picking up and dropping.
Parameters:
Name | Type | Description |
---|---|---|
parent |
Candidate | CandidateDn | VoterShape | - something with x and y attributes. |
r |
Number | radius of graphic |
color |
String | color code |
screen |
Screen | something with .ctx to draw to. |
- Source: