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....



Rectangle


Unit:SDL_rchart
Class:TRChart
Declaration:procedure Rectangle (x1, y1, x2, y2: double);

The method Rectangle displays a rectangle. The lower left corner and the upper right corner are specified by the positions (x1,y1 ) and (x2,y2 ), respectively. The color of the boundary is determined by the property DataColor; the color of the inner area is specified by the property FillColor. The fill area of the rectangle may be either opaque or transparent, depending on the property TransparentItems. The line width may be adjusted by the property LineWidth.

Hint: In the Light Edition the number of chart elements is restricted to 1000 elements.

Example: This method is used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): interpol3d, multilinreg, printcht, rch3dbar



Last Update: 2016-Jan-10