weimingtom / nekonme

Automatically exported from code.google.com/p/nekonme
0 stars 0 forks source link

Filing on getting size of DisplayObject with line drawing #205

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

var shape = new Shape();
var g = shape.graphics;
g.lineStyle(0, 0x000000);//<-- if remove it - works 
g.beginFill(0x0000ff);
g.drawRect(0, 0, 100, 100);
g.endFill();
var x = shape.width;

Expected: x == 100;
Result: exe programm error;

What version of the product are you using? On what operating system?
nme 3.2.0, target: windows, OS: Windows XP

Original issue reported on code.google.com by cse...@gmail.com on 12 Mar 2012 at 5:07

GoogleCodeExporter commented 8 years ago
For me, this program will work p till the shape.width access (after the 
lineStyle call).

nme 3.2.1, windows, windows 7 x64

Original comment by jonasmal...@gmail.com on 19 Mar 2012 at 3:01