Edit

Share via


PathFigure.GetFlattenedPathFigure Method

Definition

Gets a PathFigure object that is an polygonal approximation of this PathFigure object.

Overloads

GetFlattenedPathFigure()

Gets a PathFigure object that is an polygonal approximation of this PathFigure object.

GetFlattenedPathFigure(Double, ToleranceType)

Gets a PathFigure object, within the specified error of tolerance, that is an polygonal approximation of this PathFigure object.

Remarks

The flattening process is lossy with respect to animation and curve segment parameters.

GetFlattenedPathFigure()

Gets a PathFigure object that is an polygonal approximation of this PathFigure object.

public:
 System::Windows::Media::PathFigure ^ GetFlattenedPathFigure();
public System.Windows.Media.PathFigure GetFlattenedPathFigure ();
member this.GetFlattenedPathFigure : unit -> System.Windows.Media.PathFigure
Public Function GetFlattenedPathFigure () As PathFigure

Returns

The polygonal approximation of this PathFigure object.

Remarks

The flattening process is lossy with respect to animation and curve segment parameters.

Applies to

GetFlattenedPathFigure(Double, ToleranceType)

Gets a PathFigure object, within the specified error of tolerance, that is an polygonal approximation of this PathFigure object.

public:
 System::Windows::Media::PathFigure ^ GetFlattenedPathFigure(double tolerance, System::Windows::Media::ToleranceType type);
public System.Windows.Media.PathFigure GetFlattenedPathFigure (double tolerance, System.Windows.Media.ToleranceType type);
member this.GetFlattenedPathFigure : double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathFigure
Public Function GetFlattenedPathFigure (tolerance As Double, type As ToleranceType) As PathFigure

Parameters

tolerance
Double

The computational tolerance of error.

type
ToleranceType

Specifies how the error of tolerance is interpreted.

Returns

The polygonal approximation of this PathFigure object.

Remarks

The flattening process is lossy with respect to animation and curve segment parameters.

tolerance determines how closely the curve is approximated.

Applies to