PathFigure.GetFlattenedPathFigure Method
Definition
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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應