Home | GR32_Polygons | TPolygon32 |
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
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007