|
Uranium
Application Framework
|
Public Member Functions | |
| __init__ (self) | |
| getColor (self, index) | |
| getDistinctColor (self, index) | |
Protected Attributes | |
| _rgb_color_list | |
| _color_list | |
Very simple class filled with a bunch of colours that are chosen thusly that they are easily distinguishable for humans.
| UM.ColorGenerator.ColorGenerator.getColor | ( | self, | |
| index | |||
| ) |
Get a colour, based on index from the list :type index: int :returns: list with 3 integers