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
canvas=args.objectctx=canvas.getContext('2d')asCanvasRenderingContext2D;canvas.width=canvas.clientWidth;canvas.height=canvas.clientHeight;constgradient=ctx.createConicGradient(90,canvas.width/2,canvas.height/2);// Add five color stopsgradient.addColorStop(0,'red');gradient.addColorStop(0.25,'orange');gradient.addColorStop(0.5,'yellow');gradient.addColorStop(0.75,'green');gradient.addColorStop(1,'blue');ctx.fillStyle=gradient;ctx.fillStyle=gradient;ctx.fillRect(20,20,canvas.width,canvas.width);
Nothing changes
The text was updated successfully, but these errors were encountered:
Tested on iOS
CODE
Nothing changes
The text was updated successfully, but these errors were encountered: