Geometry.GetOutlinedPathGeometry メソッド
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 値の 1 つ。
戻り値
Geometry の塗りつぶされた領域の簡略化されたアウトライン。
- 属性
注釈
一部 Geometry のメソッド (たとえば GetOutlinedPathGeometry) は、ジオメトリの多角形近似を生成または使用します。 許容値係数は、この多角形近似のポイント間の最大距離を指定します。 許容値が小さいほど近似値は優れていますが、許容係数が大きい近似よりも多くの処理が必要です。
適用対象
.NET Framework 4.8 およびその他のバージョン
製品 | バージョン |
---|---|
.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 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |
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
戻り値
Geometry の塗りつぶされた領域の簡略化されたアウトライン。
注釈
このメソッドは、ジオメトリを処理するときに既定の StandardFlatteningTolerance 許容値係数 (プロパティによって記述) を使用します。 独自の許容範囲係数を指定するには、このメソッドを GetOutlinedPathGeometry 使用します。
一部 Geometry のメソッド (たとえば GetOutlinedPathGeometry) は、ジオメトリの多角形近似を生成または使用します。 許容値係数は、この多角形近似のポイント間の最大距離を指定します。 許容値が小さいほど近似値は優れていますが、許容係数が大きい近似よりも多くの処理が必要です。
適用対象
.NET Framework 4.8 およびその他のバージョン
製品 | バージョン |
---|---|
.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 |
Windows Desktop | 3.0, 3.1, 5, 6, 7 |