System.Drawing.Drawing2D.GraphicsPath.Flatten Method

Converts each curve in this System.Drawing.Drawing2D.GraphicsPath into a sequence of connected line segments.

Syntax

public void Flatten (Matrix matrix, float flatness)

Parameters

matrix
A System.Drawing.Drawing2D.Matrix by which to transform this System.Drawing.Drawing2D.GraphicsPath before flattening.
flatness
Specifies the maximum permitted error between the curve and its flattened approximation. A value of 0.25 is the default. Reducing the flatness value will increase the number of line segments in the approximation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0