ImageEn, unit iexLayers

TIEPolylineLayer.Points

TIEPolylineLayer.Points


Declaration

property Points[index: integer]: TPoint;


Description

Returns a point in the polyline.
Each point of the polyline is represented by an x and y value in the range 0 to 1000 (iepbRange). Where (0, 0) is the top-left pixel of the layer and (1000, 1000) is the bottom-right.

Note:
Use PointCount to determine the number of points in the Polyline.
Use GetPoints to return values in terms of bitmap or screen.


Examples

// Get second point
pt := TIEPolylineLayer( ImageEnView1.CurrentLayer ).Points[1];

// Set second point at (500, 0)
TIEPolylineLayer( ImageEnView1.CurrentLayer ).Points[1] := Point( 500, 0 );
ImageEnView1.Update();


See Also

SetPoint
AddPoint
RemovePoint