This pretty simple drawing command creates a traced red rectangle 11x11 pixels:
_sp.graphics.lineStyle( 1, 0xFF0000, 1, true, LineScaleMode.NORMAL, CapsStyle.NONE, JointStyle.MITER, 3 );
_sp.graphics.drawRect( 10, 10, 10, 10 );
What is the secret to making it 10x10 pixels?
If I fill a rectangle with the same drawRect parameters it turns out 10x10 pixels:
_sp.graphics.beginFill( 0xFF0000, 1 );
_sp.graphics.drawRect( 10, 10, 10, 10 );
_sp.graphics.endFill( );
I would prefer not to drawRect( 10, 10, 9, 9 ); as that seems like a hack.