PathFigure.GetFlattenedPathFigure Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a PathFigure object that is an polygonal approximation of this PathFigure object.
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. |
The flattening process is lossy with respect to animation and curve segment parameters.
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: