class nape.util.ShapeDebug extends Debug
Available on all platforms
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.
Instance Fields
function new(width:Int, height:Int, ?bgColour:Int = 3355443):Void
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.
*
*
width | The width of Debug draw viewport. * |
height | The height of Debug draw viewport. * |
bgColour | the background colour for debug draw. (default 0x333333) * |
returns | The constructed ShapeDebug. * |