Flatten

GraphicsPath.Flatten method (1 of 3)

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

public void Flatten()

See Also


GraphicsPath.Flatten method (2 of 3)

Applies the specified transform and then converts each curve in this GraphicsPath into a sequence of connected line segments.

public void Flatten(Matrix matrix)
Parameter Type Description
matrix Matrix A Matrix by which to transform this GraphicsPath before flattening.

See Also


GraphicsPath.Flatten method (3 of 3)

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

public void Flatten(Matrix matrix, float flatness)
Parameter Type Description
matrix Matrix A Matrix by which to transform this GraphicsPath before flattening.
flatness Single 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.

See Also