PackageBox2DAS.Dynamics
Classpublic class b2DebugDraw
Inheritanceb2DebugDraw Inheritance flash.display.Shape



Public Properties
 PropertyDefined By
  colors : Object
b2DebugDraw
  joints : Boolean = true
b2DebugDraw
  pairs : Boolean = false
b2DebugDraw
  scale : Number = 1
b2DebugDraw
  shapes : Boolean = true
b2DebugDraw
  world : b2World
b2DebugDraw
Public Methods
 MethodDefined By
  
b2DebugDraw(w:b2World = null, s:Number = 1)
b2DebugDraw
  
Draw():void
b2DebugDraw
  
b2DebugDraw
  
b2DebugDraw
  
DrawSegment(p1:V2, p2:V2):void
b2DebugDraw
  
DrawShape(fixture:b2Fixture, xf:XF):void
b2DebugDraw
Property Detail
colorsproperty
public var colors:Object

jointsproperty 
public var joints:Boolean = true

pairsproperty 
public var pairs:Boolean = false

scaleproperty 
public var scale:Number = 1

shapesproperty 
public var shapes:Boolean = true

worldproperty 
public var world:b2World

Constructor Detail
b2DebugDraw()Constructor
public function b2DebugDraw(w:b2World = null, s:Number = 1)



Parameters
w:b2World (default = null)
 
s:Number (default = 1)
Method Detail
Draw()method
public function Draw():void

DrawJoint()method 
public function DrawJoint(j:b2Joint):void

Parameters

j:b2Joint

DrawPair()method 
public function DrawPair(c:b2Contact):void

Parameters

c:b2Contact

DrawSegment()method 
public function DrawSegment(p1:V2, p2:V2):void

Parameters

p1:V2
 
p2:V2

DrawShape()method 
public function DrawShape(fixture:b2Fixture, xf:XF):void

Parameters

fixture:b2Fixture
 
xf:XF