Converts the current TRSPathData into a sequence of connected line segments and returns the sequence as a TRSPolygon.
The Polygon parameter is the return variable. It is the result of the conversion.
Flatness is an optional parameter that specifies the maximum permitted error between the curve and its flattened approximation. By default, it is 0.25. Reducing the flatness value will increase the number of line segments in the approximation.
Namespace: RSGraphics
Delphi |
public |
Parameters
Polygon
Type: System.Void
Return variable
Flatness
Type: Single
Maximum permitted error between the curve and its flattened approximation
Type: TRSPoint