Color Theoryxxxxxxx Color is represented by three variables, with values from 0 to 255:
The gamut of color is often displayed as a color cube with three dimensions: The 8 corners of the color cube are shown in the rightmost column -> |
|
|
Color Constants
Windows recognizes these color constants, representing
the corners of the color cube (top row), plus darker variants (bottom row).
Windows also recognizes other colors (see the color combo-box in the properties tab of most visual components).
clRed |
clLime |
clBlue |
clAqua |
clFuchsia |
clYellow |
clBlack |
clWhite WHITE |
clMaroon |
clGreen |
clNavy |
clTeal |
clPurple |
clOlive |
clGray |
clSilver |
All coordinates on your display are measured in pixels from the top left corner of the component.
Form Component
The Form
component is the entire Window of your application. You can draw
anywhere on a Window using Form1->Canvas.
PaintBox Component
The PaintBox
component defines a smaller region within the Window on which your application
can draw.
All measurements are relative to the top left corner of the PaintBox.
A PaintBox is useful for maintaining multiple visualizations on the screen
at one time. Use it as you would use Form1->Canvas.
Canvas Shape Methods
Canvas Polygons and Polylines
Canvas Puting Pixels
Getting Pixels
Properties