GraphicsPath.Flatten

Flatten()

Converts each curve in this path into a sequence of connected line segments.

public void Flatten()

See Also


Flatten(Matrix)

Applies the specified transform and then converts each curve in this GraphicsPath.

public void Flatten(Matrix matrix)
ParameterTypeDescription
matrixMatrixA Matrix by which to transform this GraphicsPath before flattening.

See Also


Flatten(Matrix, float)

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

public void Flatten(Matrix matrix, float flatness)
ParameterTypeDescription
matrixMatrixA Matrix by which to transform this GraphicsPath before flattening.
flatnessSingleSpecifies 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.

See Also