--- In [email protected], Paul Hastings <[EMAIL PROTECTED]>
wrote:
> i might be seeing a bug with beginFill() on a data canvas. the
following snippet
> produces a "leaked" shape:
still not sure if this is a bug but rearranging the code to this:
uvCanvas.lineStyle(1,0xCCCCCC,.75,true);
uvCanvas.drawCircle(x,y,7)
uvCanvas.beginFill(0xCCCCCC,0.5);
uvCanvas.drawCircle(x,y,2);
uvCanvas.endFill();
seems to workaround that "leaked" shape.
>
> endPoint=findEndPoint("UV",x,y);
> uvCanvas.lineStyle(1,0xCCCCCC,.75,true);
> uvCanvas.drawCircle(x,y,7)
> uvCanvas.moveTo(x,y);
> uvCanvas.lineTo(endPoint.x,endPoint.y);
> uvCanvas.beginFill(0xCCCCCC,0.5);
> uvCanvas.drawCircle(x,y,2);
> uvCanvas.endFill();
>
> have a look at:
>
> http://www.sustainablegis.com/projects/git/dataCanvas.jpg