Next: Font related Commands Up: Other Commands Previous: Other Commands   Index

Color related Commands

ChangeColor(``name'', c, m, y, k)
Changes the color ``name'', the color value is defined via four components c = cyan, m = magenta, y = yello and k = black. color compontens should be in the range from 0 to 255.
DefineColor(``name'', c, m, y, k)
Defines a new Color ``name''. The color value is defined via four components c = cyan, m = magenta, y = yello and k = black. color components should be in the range from 0 to 255.
DeleteColor(``name'', ''replace'')
Deletes the color ``name''. every occurence of that color is replaced by the color ``replace''.
GetColor(``name'')
Returns a tuple containing the four color components of the color ``name''.
GetColorNames()
Returns a list with the names of all defined colors.
ReplaceColor(``name'', ''replace'')
Every occurence of that color is replaced by the color ``replace''.