|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....|
|Home ChartPack RChart Class TRChart Methods RectangleRelPix|
|See also: Bar3D, Rectangle, RectFrame|
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.