PDA

View Full Version : problem in view


saninfo01
05-08-2007, 03:15 AM
hai!!!

i wnt to draw a view, the view should be a circle without border.hw to wite coding.pls help me...

senshi
05-08-2007, 09:09 AM
i wnt to draw a view [...]
Ever thought about using the <drawview>?


<drawview width="120" height="120" >
<handler name="oninit" >
var r = 50;
var mx = 10 + r;
var my = 10 + r;

this.oval( mx, my, r );
this.fillStyle = 0x0000FF;
this.fill();
</handler>
</drawview>