Uranium
Application Framework
Loading...
Searching...
No Matches
UM.ColorGenerator.ColorGenerator Class Reference

Very simple class filled with a bunch of colours that are chosen thusly that they are easily distinguishable for humans. More...

Public Member Functions

 __init__ (self)
 
 getColor (self, index)
 Get a colour, based on index from the list.
 
 getDistinctColor (self, index)
 

Protected Attributes

 _rgb_color_list
 
 _color_list
 

Detailed Description

Very simple class filled with a bunch of colours that are chosen thusly that they are easily distinguishable for humans.

Member Function Documentation

◆ getColor()

UM.ColorGenerator.ColorGenerator.getColor (   self,
  index 
)

Get a colour, based on index from the list.

Parameters
indexint
Returns
colour list list with 3 integers

The documentation for this class was generated from the following file: