-
Notifications
You must be signed in to change notification settings - Fork 0
Idea: Shape Object #3
Copy link
Copy link
Open
Description
Instead of rendering basic shapes directly to the canvas, it would be nice to instead have an API to draw shapes with in a fluent manner:
rectangle(x, y, w, h).filled().radius(5).draw()circle(x, y, w).filled().draw()line(x1, y1, x2, y2).width(2).draw()Possible methods
filled()radius()width()color()draw()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels