The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property FillColor: TColor;

The property FillColor determines the color used for filling the following data items: Bar3D, Rectangle, RectFrame, and Ellipse. In addition, it controls the void color of dashed lines (cf. DrawTo and Line). The color is stored internally along with the graphics objects so that each graphics object can have a different color. See the Delphi documentation for details on the TColor type.

Hint: Try to avoid situations where the colors of the data items are permanently changed during the drawing process. This will slow down graphics by up to 20 %. Instead, data items of the same color should be drawn, and then the items of the next color and so on.

Example: This property is used in the following example programs (see for downloading the code): interpol3d, multilinreg, printcht, rch3dbar

Last Update: 2016-Jan-10