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



TpcChartItem


Unit:SDL_polchart
Class: TPolChart
Declaration:
TpcChartItem = record
                 r,phi        : double;
                 r2, phi2     : double;
                 Color        : TColor;
                 FillColor    : TColor;
                 ShadowColor  : TColor;
                 HiLightColor : TColor;
                 PenStyle     : TPenStyle;
                 Tag          : longint;
                 LWid         : byte;
                 ItemClass    : byte;
                 ItemKind     : TpcItem;
                 Transp       : boolean;
                 FrameStyle   : TFrameStyle;
                 Text         : string[15];
                 Size         : integer;
                 mark         : byte;
               end;


This type declaration defines the basic element of the data container which stores the graphics items. TpcChartItem is normally not utilized by the user except for some special situations.

The variables declared in TpcChartItem have the following meaning:

r,phi Coordinates of the position of the item. If an item is defined by two points (such as a line), r and phi contain the first point (which is the reference point)
r2,phi2 The coordinates of a second point of an item (in case of lines and rectangles).
Color The color of the item (if applicable).
FillColor The filling color (if applicable)
ShadowColor The color of the shadow part of a frame
HiLightColor The color of the highlighted part of a frame
PenStyle The style of the drawing pen.
Tag A user defined data tag.
LWid The line width of solid lines (PenStyle = psSolid).
ItemClass An arbitrary item class number which is used in some methods of TPolChart.
ItemKind Indicator of the type of the item (see TpcItem for details).
Transp Determines the transparency of circles and rectangles.
FrameStyle The style of the frame of a framed rectangle
Text A string of max. 15 characters for text items.
Size The size of the text.
Mark The number of the mark used (see MarkAt for details).



Last Update: 2012-Oct-20