TIEPolylineLayer.SimplifyPolygon2
Declaration
procedure SimplifyPolygon2(Tolerance: Double);
Description
Removes vertices from a polyline that contribute little to its shape.
Tolerance specifies the minimum distance a vertex can be from an imaginary line drawn between its two adjacent vertices.
See also:
SimplifyPolygon
Note:
SimplifyPolygon2 will disable
EnableComplexPath
| Demos\LayerEditing\MagicFillToPolygon\Magic2Polygon.dpr |
TIEPolylineLayer( ImageEnView1.CurrentLayer ).SimplifyPolygon2( 1.5 );
ImageEnView1.Update();