::tycho::Object
-
Source File -
Contents:
destructor
- public methods
- public procs
- public commons
This object is a classic example of the ``flyweight'' object paradigm, in which small objects are shared in order to avoid creating lots of them. In other words, only one instance of a Shades object exists for each distinct color.
Currently, this class is too simple. It needs to provide a better selection of colors (i.e. fewer but better colors) in a manner that is independent of the X color names.
FIXME: This class needs to be merged with Color.itcl,.
destructor
light
gloss
matt
dark
new
color
colors
colorobjects
defaultcolorobject
colornames
background lightgrey grey darkgrey
antiquewhite aquamarine azure bisque blue
brown burlywood cadetblue chartreuse
chocolate coral cornsilk cyan darkgoldenrod
darkolivegreen darkorange darkorchid
darkseagreen darkslategray deeppink
deepskyblue dodgerblue firebrick gold
goldenrod green honeydew hotpink indianred
ivory khaki lavenderblush lemonchiffon
lightblue lightcyan lightgoldenrod lightpink
lightsalmon lightskyblue lightsteelblue
lightyellow magenta maroon mediumorchid
mediumpurple mistyrose navajowhite olivedrab
orange orangered orchid palegreen
paleturquoise palevioletred peachpuff pink
plum purple red rosybrown royalblue salmon
seagreen seashell sienna skyblue slateblue
slategray snow springgreen steelblue tan
thistle tomato turquoise violetred wheat
yellow