ICanvas.Polygon
ICanvas
procedure Polygon(NumPoints: Integer; Points: OleVariant);
Type Library
TeeChartx
Description
Plots a Polygon for an array of co-ordinate pairs.
if NumPoints is equal to or greater than the number of point pairs in the array the whole array is plotted. If the value is less the first NumPoints pairs are plotted from the array.
Example (Visual Basic)
a = Array(100, 100, 150, 50, 170, 100, 250, 100, 200, 200)
TChart1.Canvas.Polygon 5, a