UtilitiesFunctionsgetRegionCenterVersion: NextgetRegionCenter CallablegetRegionCenter(points: Point2D[], regionType: RegionType): Point2DReturns the logical center of a region given its control points. Line / vector / ruler types: midpoint of the two endpoints.Polygon / polyline types: center of the axis-aligned bounding box.All other types: the first control point (which is the stored center).Parameterspoints: Point2D[]Control points of the region in image pixel coordinates.regionType: RegionTypeThe type of the region.Returns Point2DThe center point of the region.
Returns the logical center of a region given its control points.