PackageBox2D.Common
Classpublic class b2Color
Sourceb2Color.as

Color for debug drawing. Each value has the range [0,1].



Public Properties
 PropertyDefined by
  b : Number
[write-only]
b2Color
  color : uint
[read-only]
b2Color
  g : Number
[write-only]
b2Color
  r : Number
[write-only]
b2Color
Public Methods
 MethodDefined by
  
b2Color(rr:Number, gg:Number, bb:Number)
b2Color
  
Set(rr:Number, gg:Number, bb:Number):void
b2Color
Property detail
bproperty
b:Number  [write-only]Implementation
    public function set b(value:Number):void
colorproperty 
color:uint  [read-only]Implementation
    public function get color():uint
gproperty 
g:Number  [write-only]Implementation
    public function set g(value:Number):void
rproperty 
r:Number  [write-only]Implementation
    public function set r(value:Number):void
Constructor detail
b2Color()constructor
public function b2Color(rr:Number, gg:Number, bb:Number)Parameters
rr:Number
 
gg:Number
 
bb:Number
Method detail
Set()method
public function Set(rr:Number, gg:Number, bb:Number):voidParameters
rr:Number
 
gg:Number
 
bb:Number