TPolygon32.Grow

function Grow(const Delta: TFixed; EdgeSharpness: Single = 0): TPolygon32;

Description

Creates a new instance of TPolygon32 object and changes its shape similar to dilation (or erosion when Delta is negative) morphological filters.

The direction of grouth is determined by the order of the points in the contour. Positive direction is to the left of each line (see image below).

Using Grow method with Delta = 0 will simply create a new instance of the polygon with the same data as in original polygon.

The EdgeSharpness parameter controls generation of new vertices. Its value range is [0…0.99].

See Also

TFixed, TPolygon32