How to draw rectangular box programmatically in javascript
I am trying to draw the rectangular box on开发者_StackOverflow stacklayout's view programmatically (on runtime) using javascript so if any one has a solution for that please do tell me.
Thnx in advance
Parag
place a canvas part on the view within stacklayout then use canvas draw functions from js;
var c=document.getElementById("canvas");
var cxt=c.getContext("2d");
cxt.fillStyle="#FF0000";
cxt.fillRect(0,0,75,75);
精彩评论