PathFigure.GetFlattenedPathFigure Method (Double, ToleranceType)

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

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)

public PathFigure GetFlattenedPathFigure (
	double tolerance,
	ToleranceType type
)
public PathFigure GetFlattenedPathFigure (
	double tolerance, 
	ToleranceType type
)
public function GetFlattenedPathFigure (
	tolerance : double, 
	type : ToleranceType
) : PathFigure
You cannot use methods in XAML.

Parameters

tolerance

The computational tolerance of error.

type

Specifies how the error of tolerance is interpreted.

Return Value

The polygonal approximation of this PathFigure object.

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

tolerance determines how closely the curve is approximated.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: