TTMSFNCGraphicsPath.FlattenToPolygon Method
Approximates all curves with line segments and outputs the result as a flat polygon array.
API unit family: TMSFNCGraphicsTypes
Declaring type: TTMSFNCGraphicsPath
Syntax
procedure FlattenToPolygon(var Polygon: TTMSFNCGraphicsPathPolygon; const Flatness: Single = 0.25);
Parameters
| Name | Description |
|---|---|
Polygon |
Receives the array of approximated polygon vertices. |
Flatness |
Curve approximation tolerance. Default is 0.25. |