/[escript]/trunk/pyvisi/py_src/constants.py
ViewVC logotype

Contents of /trunk/pyvisi/py_src/constants.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 889 - (show annotations)
Tue Nov 7 23:42:31 2006 UTC (13 years, 5 months ago) by jongui
File MIME type: text/x-python
File size: 998 byte(s)
drivers added
1 """
2 Constants that define colors using a RGB list.
3
4 @var RED: Constant representing red
5 @type RED: RGB color
6 @var GREEN: Constant representing green
7 @type GREEN: RGB color
8 @var BLUE: Constant representing blue
9 @type BLUE: RGB color
10 @var BLACK: Constant representing black
11 @type BLACK: RBG color
12 @var WHITE: Constant representing white
13 @type WHITE: RGB color
14 @var YELLOW: Constant representing yellow
15 @type YELLOW: RGB color
16 @var PINK: Constant represnting pink
17 @type PINK: RGB color
18 @var ORANGE: Constant representing orange
19 @type ORANGE: RGB color
20 @var PURPLE: Constant representing purple
21 @type PURPLE: RGB color
22 @var GREY: Constant representing grey
23 @type GREY: RGB color
24 @var BROWN: Constant representing brown
25 @type BROWN: RGB color
26 """
27
28 RED = [1, 0, 0]
29 GREEN = [0, 1, 0]
30 BLUE = [0, 0, 1]
31 BLACK = [0, 0, 0]
32 WHITE = [1, 1, 1]
33 YELLOW = [1,1,0]
34 PINK = [1, 0.0784, 0.4588]
35 ORANGE = [1, 0.2706, 0]
36 PURPLE = [0.5412, 0.1680, 0.8828]
37 GREY = [0.6602, 0.6602, 0.6602]
38 BROWN = [0.5430, 0.2700, 0.0742]
39

  ViewVC Help
Powered by ViewVC 1.1.26