PathGeometry クラス

定義

円弧、曲線、楕円、線、および四角形で構成される複雑なベクター ベースの図形を表します。

public ref class PathGeometry sealed : Geometry
/// [Microsoft.UI.Xaml.Markup.ContentProperty(Name="Figures")]
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PathGeometry final : Geometry
[Microsoft.UI.Xaml.Markup.ContentProperty(Name="Figures")]
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PathGeometry : Geometry
Public NotInheritable Class PathGeometry
Inherits Geometry
<PathGeometry>
  oneOrMorePathFigures
</PathGeometry>
-or-
<PathGeometry Figures="moveAndDrawCommands">
継承
Object Platform::Object IInspectable DependencyObject Geometry PathGeometry
属性

コンストラクター

名前 説明
PathGeometry()

PathGeometry クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Bounds

Geometry の軸揃え境界ボックスを指定する Rect を取得します。

(継承元 Geometry)
Dispatcher

Windows アプリ SDK アプリで常に null を返します。 代わりに DispatcherQueue を使用してください。

(継承元 DependencyObject)
DispatcherQueue

このオブジェクトが関連付けられている DispatcherQueue を取得します。 DispatcherQueueは、コードが非 UI スレッドによって開始された場合でも、UI スレッド上のDependencyObjectにアクセスできる機能を表します。

(継承元 DependencyObject)
Figures

パスの内容を記述する PathFigure オブジェクトのコレクションを取得または設定します。

FiguresProperty

Figures 依存関係プロパティを識別します。

FillRule

PathGeometry に含まれる交差する領域の結合方法を決定する値を取得または設定します。

FillRuleProperty

FillRule 依存関係プロパティを識別します。

Transform

Geometry に適用される Transform オブジェクトを取得または設定します。

(継承元 Geometry)

メソッド

名前 説明
ClearValue(DependencyProperty)

依存関係プロパティのローカル値をクリアします。

(継承元 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

依存関係プロパティに対して確立された基本値を返します。これは、アニメーションがアクティブでない場合に適用されます。

(継承元 DependencyObject)
GetValue(DependencyProperty)

DependencyObject から依存関係プロパティの現在の有効な値を返します。

(継承元 DependencyObject)
ReadLocalValue(DependencyProperty)

ローカル値が設定されている場合は、依存関係プロパティのローカル値を返します。

(継承元 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

この DependencyObject インスタンスの特定の DependencyProperty への変更をリッスンするための通知関数を登録します。

(継承元 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject の依存関係プロパティのローカル値を設定します。

(継承元 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

RegisterPropertyChangedCallback を呼び出して以前に登録した変更通知を取り消します。

(継承元 DependencyObject)

適用対象

こちらもご覧ください