Package muntjac :: Package addon :: Package colorpicker :: Module color :: Class Color
[hide private]
[frames] | no frames]

Class Color

source code

object --+
         |
        Color

Instance Methods [hide private]
 
__init__(self, r, g, b, a=1.0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_convert(self, value) source code
 
getRed(self) source code
 
getGreen(self) source code
 
getBlue(self) source code
 
getAlpha(self) source code
 
__str__(self)
str(x)
source code
 
getHSV(self) source code

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

Class Variables [hide private]
  BLACK = Color(0.0, 0.0, 0.0)
  WHITE = Color(1.0, 1.0, 1.0)
  RED = Color(1.0, 0.0, 0.0)
  GREEN = Color(0.0, 1.0, 0.0)
  BLUE = Color(0.0, 0.0, 1.0)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, r, g, b, a=1.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)