Module fig :: Class CustomColor

Class CustomColor




Instance Methods
 
__init__(self, index, hexCode)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__repr__(self)
repr(x)
 
__str__(self)
str(x)
 
__int__(self)
 
__cmp__(self, other)
 
__sub__(self, other)
Return RGB vector difference as (dr,dg,db) tuple.
 
__getitem__(self, index)
 
__len__(self)
 
rgb(self)
 
setRGB(self, r, g, b)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties

Inherited from object: __class__

Method Details

__init__(self, index, hexCode)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

 
repr(x)
Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 
str(x)
Overrides: object.__str__
(inherited documentation)