Package esys :: Package lsm :: Package vis :: Package core :: Module color
[hide private]
[frames] | no frames]

Module color

Defines RgbColor base class and Colors pseudo class.

Classes [hide private]
  RgbColor
Represents a named color as a (red, green, blue) tuple.
  Colors
Defines class-scope variables representing particular color instances.
Functions [hide private]
 
findColor(colorName)
Performs a case-insensitive search for a color with name colorName.
Variables [hide private]
  _nameRgbColorDict = {'AQUAMARINE': <esys.lsm.vis.core.color.Rg...
  __package__ = 'esys.lsm.vis.core'
  attr = 'esys.lsm.vis.core.color'
  attribute = '__module__'
Function Details [hide private]

findColor(colorName)

 

Performs a case-insensitive search for a color with name colorName. Returns None if no color matching colorName is found.


Variables Details [hide private]

_nameRgbColorDict

Value:
{'AQUAMARINE': <esys.lsm.vis.core.color.RgbColor object>,
 'BAKERSCHOC': <esys.lsm.vis.core.color.RgbColor object>,
 'BLACK': <esys.lsm.vis.core.color.RgbColor object>,
 'BLUE': <esys.lsm.vis.core.color.RgbColor object>,
 'BLUEVIOLET': <esys.lsm.vis.core.color.RgbColor object>,
 'BRASS': <esys.lsm.vis.core.color.RgbColor object>,
 'BRIGHTGOLD': <esys.lsm.vis.core.color.RgbColor object>,
 'BRONZE': <esys.lsm.vis.core.color.RgbColor object>,
...