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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기