Uranium
Application Framework
UM.ColorGenerator.ColorGenerator Class Reference

Public Member Functions

def __init__ (self)
 
def getColor (self, index)
 
def getDistinctColor (self, index)
 

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()

def UM.ColorGenerator.ColorGenerator.getColor (   self,
  index 
)
Get a colour, based on index from the list

:type index: int
:returns: list with 3 integers

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