ImageEn, unit iexLayers

TIEAngleLayer.Points

TIEAngleLayer.Points


Declaration

property Points[index: integer]: TPoint;


Description

Gets one of the three points used to specify an angle (where point 1 is vertex). The range will always be 0 - 2.
Each point of the angle 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:
This is the same as calling GetPoints( index, iepbRange );
Use GetPoints to return values in terms of bitmap or screen.


Examples

with TIEAngleLayer( ImageEnView1.CurrentLayer ) do
  s := Format('(%d, %d) (%d, %d) (%d, %d)', [ Points[0].X, Points[0]).Y,
                                              Points[1].X, Points[1]).Y,
                                              Points[2].X, Points[2]).Y ]);
ShowMessage(s);


See Also

GetPoints
SetPoints