Package pybox2d :: Module Box2D :: Class b2Color
[hide private]
[frames] | no frames]

type b2Color

source code


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

Instance Methods [hide private]
b2Color
__init__(self)
__init__(self, float32 r, float32 g, float32 b) -> b2Color
source code
 
__repr__(self) source code
 
__getstate__(self, additional_ignore=[])
Returns a dictionary representation of self, with dict(var=value [, ...])
source code
 
__setstate__(self, dict)
Takes each variable=value pair in the dictionary and sets the attributes based on them
source code
 
__swig_destroy__(...)
delete_b2Color(b2Color self)
Properties [hide private]
  thisown
The membership flag
  r
b2Color_r_get(b2Color self) -> float32
  g
b2Color_g_get(b2Color self) -> float32
  b
b2Color_b_get(b2Color self) -> float32
Method Details [hide private]

__init__(self)
(Constructor)

source code 

__init__(self, float32 r, float32 g, float32 b) -> b2Color

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

Returns: b2Color
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)

__getstate__(self, additional_ignore=[])

source code 

Returns a dictionary representation of self, with 
 dict(var=value [, ...])

additional_ignore can be specified to ignore certain
properties. 


Property Details [hide private]

thisown

The membership flag

r

b2Color_r_get(b2Color self) -> float32

g

b2Color_g_get(b2Color self) -> float32

b

b2Color_b_get(b2Color self) -> float32