Geometry.GetOutlinedPathGeometry 方法

定義

取得 PathGeometry,此為 Geometry 填滿區域的簡單外框。

多載

GetOutlinedPathGeometry(Double, ToleranceType)

在指定的容許誤差內,取得 PathGeometry,這是 Geometry 之填滿區域的簡單外框。

GetOutlinedPathGeometry()

取得 PathGeometry,此為 Geometry 填滿區域的簡單外框。

GetOutlinedPathGeometry(Double, ToleranceType)

在指定的容許誤差內,取得 PathGeometry,這是 Geometry 之填滿區域的簡單外框。

public:
 virtual System::Windows::Media::PathGeometry ^ GetOutlinedPathGeometry(double tolerance, System::Windows::Media::ToleranceType type);
[System.Security.SecurityCritical]
public virtual System.Windows.Media.PathGeometry GetOutlinedPathGeometry (double tolerance, System.Windows.Media.ToleranceType type);
public virtual System.Windows.Media.PathGeometry GetOutlinedPathGeometry (double tolerance, System.Windows.Media.ToleranceType type);
[<System.Security.SecurityCritical>]
abstract member GetOutlinedPathGeometry : double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
override this.GetOutlinedPathGeometry : double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
abstract member GetOutlinedPathGeometry : double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
override this.GetOutlinedPathGeometry : double * System.Windows.Media.ToleranceType -> System.Windows.Media.PathGeometry
Public Overridable Function GetOutlinedPathGeometry (tolerance As Double, type As ToleranceType) As PathGeometry

參數

tolerance
Double

在幾何多邊形近似法中,點之間的距離上限。 值越小,產生的結果越精確,但執行過程也會比較慢。 如果 tolerance 小於 .000001,則會改用 .000001。

type
ToleranceType

其中一個 ToleranceType 值,這個值會指定容錯因數為絕對值或相對於幾何區域的值。

傳回

PathGeometry

Geometry 之填滿區域的簡單外框。

屬性

備註

某些 Geometry 方法 (例如 GetOutlinedPathGeometry) 產生或使用幾何的多邊形近似值。 容錯因數會指定此多邊形近似值中點之間的最大距離。 較小的容錯值會產生較佳的近似值,但需要比具有大型容錯因數的近似值更多的處理。

適用於

GetOutlinedPathGeometry()

取得 PathGeometry,此為 Geometry 填滿區域的簡單外框。

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

傳回

PathGeometry

Geometry 之填滿區域的簡單外框。

備註

此方法會在處理幾何時,使用屬性所描述 StandardFlatteningTolerance 的預設容錯因數 () 。 若要指定您自己的容錯因數,請使用 GetOutlinedPathGeometry 方法。

某些 Geometry 方法 (例如 GetOutlinedPathGeometry) 產生或使用幾何的多邊形近似值。 容錯因數會指定此多邊形近似值中點之間的最大距離。 較小的容錯值會產生較佳的近似值,但需要比具有大型容錯因數的近似值更多的處理。

適用於