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:procedure RectangleRelPix (centx,centy: double; dx, dy: integer);

The method RectangleRelPix displays a rectangle which is centered around the point [centx, centy]. The size of the rectangle is controlled by the parameters dx and dy, which are pixel distances:

Thus the size of the rectangle is independent of the scaling of the chart. 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.

Last Update: 2012-Oct-20