| Trees | Indices | Help |
|---|
|
|
Class providing methods for translating representations of color into
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
o filename Location of a file containing colorscheme
information
Optional parameters set the color scheme
|
o color Color defined as an int, a tuple of three ints 0->255
or a tuple of three floats 0 -> 1, or a string giving
one of the named colors defined by ReportLab.
(This argument is overridden by a backwards compatible
argument with UK spelling, colour).
Returns a colors.Color object, determined semi-intelligently
depending on the input values
|
o filename The location of a file defining colors in tab-separated
format plaintext as:
INT RED GREEN BLUE Comment
Where RED, GREEN and BLUE are intensities in the range
0 -> 255
e.g.
2 255 0 0 Red: Information transfer
Reads information from a file containing color information and
stores it internally
|
o value An int representing a functional class in the Artemis
color scheme (see www.sanger.ac.uk for a description)
Takes an int representing a functional class in the Artemis color
scheme, and returns the appropriate colors.Color object
|
o value An int representing a single color in the user-defined
color scheme
Takes an int representing a user-defined color and returns the
appropriate colors.Color object
|
o values A tuple of (red, green, blue) intensities as
integers in the range 0->255
Takes a tuple of (red, green, blue) intensity values in the range
0 -> 255 and returns an appropriate colors.Color object
|
o values A tuple of (red, green, blue) intensities as floats
in the range 0 -> 1
Takes a tuple of (red, green, blue) intensity values in the range
0 -> 1 and returns an appropriate colors.Color object
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sun May 3 17:14:19 2009 | http://epydoc.sourceforge.net |