ImageEn, unit ievect

TImageEnVect.GetSelectionCentroid

TImageEnVect.GetSelectionCentroid


Declaration

function GetSelectionCentroid(): TPoint;


Description

Calculates the x, y coordinates of the selection's centroid. The point is in bitmap coordinates.


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of GetSelectionCentroid, use: CalcSelectionCentroid

ctrPt := ImageEnView1.CalcSelectionCentroid();