Changes

Jump to: navigation, search

Canvas Draw

14 bytes added, 18:28, 1 December 2018
Design
Ideally, the new 2D drawing helpers would be agnostic to the concrete use-case, so that they can be used for arbitrary purposes. This can be accomplished by following a few simple design principles:
* all drawing callbacks should accept a mandatory group/element nodeto operate on
* all drawing callbacks should accept/support an optional options hash
* all drawing callback should return the corresponding Canvas element
18,328
edits

Navigation menu