Transparent Fill Colors

4 views
Skip to first unread message

James

unread,
Apr 29, 2008, 6:02:44 PM4/29/08
to plotkit
Hi,
Is it possible to use transparent fill colors - say I want a
background color to 25% transparent in case there is overlap?

Thanks,
James

James

unread,
Apr 30, 2008, 6:09:17 PM4/30/08
to plotkit
Answered my own question, add:
context.globalAlpha = .7;
right after line 195 in SweetCanvas.js. You can change the value of
globalAlpha to control the transparency...

James
Reply all
Reply to author
Forward
0 new messages