Canvas Plugin updated 2/9/2014
[Fix] Canvas will now automatically redraw.
+ Fill canvas with gradient
Path drawing actions:
+ Begin Path
+ Move to
+ Line to
+ Quadratic to
+ Bezier to
+ Rectangle path
+ Set line Settings
+ Fill path
+ Draw path
[Fix] pasting objects on scaled canvas'.
+ The draw line action now has a line width parameter [warning: may cause capx made with previous version not to open.
+ Draw circle action.
[Fix] When choosing colors the alpha value is in the range of 0 to 1, rgbaAt now returns a usable value.
[Fix] Now works with WebGL. (thanks to Yann)
[Add] Additional hotspot locations top-right,top, etc...(thanks to Yann)
[Add] Paste Layer action(thanks to Yann)
[Change] Paste object/layer action now only paste visible objects.
[Add] FloodFill. (Thanks to Pode)
One of the interesting features this has is the way colors are chosen.
You can use any of the following:
"black", "blue", "orange", "gold", etc...
"rgb(100, 10, 1)"
"rgba(20, 30, 40, 0.5)"
"hsl(120, 50%, 50%)"
"hsla(120, 50%, 50%, 0.5)"
Note: alpha values are from 0 to 1.
Another nice side effect of this plugin is you can now use all the effects that html5 has to offer.
http://dl.dropbox.com/u/5426011/plugins ... index.html
If anyone encounters any bugs or has a feature request for this let me know.