VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / IGraphicsPath Interface / Flatten Methods / Flatten(AffineMatrix,Single) Method
Syntax Requirements SeeAlso
In This Topic
    Flatten(AffineMatrix,Single) Method (IGraphicsPath)
    In This Topic
    Converts each curve in this path into a sequence of connected line segments.
    Syntax
    'Declaration
    
    Public Overloads Sub Flatten( _
    ByVal transform
    A AffineMatrix, which must be applied to the path before flattening of the path.
    As Vintasoft.Imaging.AffineMatrix, _
    ByVal 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.
    As Single _
    )

    Parameters

    transform
    A AffineMatrix, which must be applied to the path before flattening of the path.
    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.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also