|Implementation of nape debug draw using flash/openfl||nme graphics API.|
This debug draw is slower than BitmapDebug which is available in flash10+ however the BitmapDebug draw makes use of Alchemy opcodes so you may wish not to use it if you are also using Stage3D and do not wish to be subject to Adobe licensing.
Construct new ShapeDebug with given viewport size and backgruond.
Background colour does not have much weight for a ShapeDebug which always has a transparent background, but serves to bias the colours chosen for drawing objects.
The width of Debug draw viewport.
The height of Debug draw viewport.
the background colour for debug draw. (default 0x333333)
The constructed ShapeDebug.
If width or height are not strictly positive.