TImageEnVect.SetObjAnglePoints
Declaration
procedure SetObjAnglePoints(hobj: integer; Points: array of TPoint);
Description
Sets the three points used to define an angle objects (iekAngle).
Parameter | Description |
hobj | Object handle |
Points | Array of three points used to define the angle |
ImageEnVect1.ObjKind[IEV_NEXT_INSERTED_OBJECT] := iekAngle;
ImageEnVect1.SetObjAnglePoints(IEV_NEXT_INSERTED_OBJECT, [Point(10, 10), Point(50, 50), Point(10, 100)]);
ImageEnVect1.AddNewObject();
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of SetObjAnglePoints, use:
SetPoints
TIEAngleLayer( ImageEnView1.CurrentLayer ).SetPoints( [Point(10, 10), Point(50, 50), Point(10, 100)], iepbBitmap );
ImageEnView1.Update();