GeometryHelper.FlattenFigure Method

Flattens a PathFigure and adds result points to a given points.

Namespace: Microsoft.Expression.Drawing.Core
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)

Syntax

'Declaration
Public Shared Sub FlattenFigure ( _
    figure As PathFigure, _
    points As IList(Of Point), _
    tolerance As Double _
)
'Usage
Dim figure As PathFigure
Dim points As IList(Of Point)
Dim tolerance As Double

GeometryHelper.FlattenFigure(figure, points, tolerance)
public static void FlattenFigure (
    PathFigure figure,
    IList<Point> points,
    double tolerance
)
public:
static void FlattenFigure (
    PathFigure^ figure, 
    IList<Point>^ points, 
    double tolerance
)
public static void FlattenFigure (
    PathFigure figure, 
    IList<Point> points, 
    double tolerance
)
public static function FlattenFigure (
    figure : PathFigure, 
    points : IList<Point>, 
    tolerance : double
)

Parameters

figure

The input PathFigure.

points

The point list to which result points will append.

tolerance

A positive number specifying the maximum allowed error from the result points to the input path figure. A Value of zero allows the algorithm to pick the tolerance automatically.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

GeometryHelper Class
GeometryHelper Members
Microsoft.Expression.Drawing.Core Namespace