Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSPathData > Methods

TRSPathData.Flatten(Single) Method

Scroll Prev Top Next More

Converts each curve in the current TRSPathData 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: RSGraphics

Parameters

Flatness

Type: Single

Maximum permitted error between the curve and its flattened approximation

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb