Package urdf_parser_py :: Module urdf :: Class Color

Class Color

source code

object --+
         |
        Color

Instance Methods
 
__init__(self, r=0.0, g=0.0, b=0.0, a=0.0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
to_xml(self, doc) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Static Methods
 
parse(node) source code
Properties

Inherited from object: __class__

Method Details

__init__(self, r=0.0, g=0.0, b=0.0, a=0.0)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)