//using your co-ordinates, this works fine, with no weirdness that I can see
this.graphics.lineStyle(1,0x333333,1,true,'none');
this.graphics.moveTo(4,0);
// no need for this.graphics.lineTo(4,0); because you are
already there
this.graphics.lineTo(0,4);
this.graphics.lineTo(0,11);
this.graphics.lineTo(8,11);
this.graphics.lineTo(8,4);
this.graphics.lineTo(4,0);
John Giotta wrote:
This is probably a well known issue, but I'm probably out of the loop.
I'm drawing a rather small shape with the draw API, but I'm getting
odd pixel points.
My shape:
(4, 0), (0, 4), (0, 11), (8, 11), (8, 4), (4,0)
Its basically a square with a steeple top. When drawn, the line from
8, 4 to 4,0 actually looks like it starts from 7, 3 giving me a offset
in my angle.
Anyone know why this is?
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders