ImageEn, unit ievect

TImageEnVect.RemovePolygonJaggedEdges

TImageEnVect.RemovePolygonJaggedEdges

Declaration

function RemovePolygonJaggedEdges(hobj: Integer): Boolean;

Description

Eliminates the jagged edges from a polygon created using CreatePolygonFromEdge method. This function can smooth angles.

Returns False if fails.

Example

ImageEnVect1.RemovePolygonJaggedEdges( hobj );

Transition Information

If you are transitioning your code to TImageEnView Layers, instead of RemovePolygonJaggedEdges, use: TIEPolylineLayer.SmoothJaggedEdges
TIEPolylineLayer( ImageEnView1.CurrentLayer ).SmoothJaggedEdges();
ImageEnView1.Update();