You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MakePath, with single commands, makes the first point moveTo and the rest lineTo.
No arcTo yet
There isn't a way to do moveTo in the middle of a path. That could be its own component. Then in Draw.path() if the item is a Point, work as it does now, MoveTo or LineTo do those specific.
PS, this is a challenge that I give when teaching JS. noflo-canvas makes a totally different way to look at the problem and solution:
Analyzing the canvas 2d API I want to start discussing its coverage/mapping to components.
As a beginning, how to create paths with mixed
lineTo
,arcTo
,moveTo
instructions?The text was updated successfully, but these errors were encountered: