Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPPath > Methods

TRSGPPath.Flatten(Single) Method

Scroll Prev Top Next More

Converts each curve in the current TPathData into a sequence of connected line segments.

The Flatness parameter 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: RSGdiPlusGraphics

Parameters

Flatness

Type: Single

Return Value

Type: TRSGPPath

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb