Color Graphics Language
|
Color Theoryxxxxxxx Color is specified along three dimensions:
The 8 corners of the cube are to the right -> |
|
|
All measurements are in pixels from the top left corner of the Canvas.
Form Component
The Form
component is the entire Window where your application can draw. You can draw
anywhere on a Window using Form1->Canvas.
PaintBox Component
The PaintBox
component defines a smaller region within the Window where your application
can draw. This is useful for maintaining multiple visualizations on the screen
at one time. Use it as you would use Form1->Canvas.
Putting Pixels
Getting Pixels
Color Constants
Windows recognizes these color constants, representing
the corners of the color cube (top row) plus variants (bottom row).
|
clRed additive |
clLime additive |
clBlue additive |
clAqua subtractive |
clFuchsia subtractive |
clYellow subtractive |
clBlack BLACK |
clWhite
WHITE |
|
clMaroon |
clGreen
|
clNavy
|
clTeal
|
clPurple
|
clOlive
|
clGray
|
clSilver
|
Properties
Methods
Polygons and Polylines