Skip to main content
All docs
V24.2

DXGraphicsPath.Flatten(DXMatrix, Single) Method

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

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public void Flatten(
    DXMatrix transform,
    float flatness
)

Parameters

Name Type Description
transform DXMatrix

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