Package pycocoa :: Module colors :: Class HSBColor
[frames] | no frames]

Class HSBColor

          object --+            
                   |            
internals._Objectype --+        
                       |        
        baseTypes._Type0 --+    
                           |    
                       Color --+
                               |
                              HSBColor

Color in thecHue-Saturation-Brightness space.

Instance Methods

Inherited from Color: __init__, copy, toCMY3, toHSB3, toRGB3

Inherited from baseTypes._Type0: __repr__, __str__, type2strepr

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

Properties
  brightness
Get the brightness component (float) or None if not applicable.
  hue
Get the hue component (float) or None if not applicable.
  saturation
Get the saturation component (float) or None if not applicable.

Inherited from Color: alpha, black, blue, colorSpace, cyan, green, hex, magenta, n, name, nsColor, red, white, yellow

Inherited from baseTypes._Type0: NS, NSDelegate

Inherited from internals._Objectype: typename

Inherited from object: __class__

Property Details

brightness

Get the brightness component (float) or None if not applicable.

Get Method:
brightness(self) - Get the brightness component (float) or None if not applicable.
Set Method:
Read_Only(inst, value) - Throws an AttributeError, always.

hue

Get the hue component (float) or None if not applicable.

Get Method:
hue(self) - Get the hue component (float) or None if not applicable.
Set Method:
Read_Only(inst, value) - Throws an AttributeError, always.

saturation

Get the saturation component (float) or None if not applicable.

Get Method:
saturation(self) - Get the saturation component (float) or None if not applicable.
Set Method:
Read_Only(inst, value) - Throws an AttributeError, always.