shadowColor : Colour of shadow on Canvas



Drag the sliders to change the shadowBlur value.

shadowOffsetX

shadowBlur


Blur Colour Hex value
void gctx.shadowColour='#ff00ff';
var my_canvas=$('#my_canvas').get(0)
var gctx = my_canvas.getContext("2d");
gctx.beginPath()
gctx.rect(20,20,150,100);
gctx.lineWidth=8;
gctx.shadowColor = '#00ff00';
gctx.shadowOffsetX=20;
gctx.shadowOffsetY=20;
gctx.shadowBlur = 15;
gctx.stroke();


plus2net.com




Post your comments , suggestion , error , requirements etc here .




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer