PathGeometry 建構函式

定義

初始化 PathGeometry 類別的新執行個體。

多載

PathGeometry()

初始化 PathGeometry 類別的新執行個體。

PathGeometry(IEnumerable<PathFigure>)

使用指定的 PathGeometry 初始化 Figures 類別的新執行個體。

PathGeometry(IEnumerable<PathFigure>, FillRule, Transform)

使用指定的 PathGeometryFiguresFillRule,初始化 Transform 類別的新執行個體。

PathGeometry()

初始化 PathGeometry 類別的新執行個體。

public:
 PathGeometry();
public PathGeometry ();
Public Sub New ()

適用於

PathGeometry(IEnumerable<PathFigure>)

使用指定的 PathGeometry 初始化 Figures 類別的新執行個體。

public:
 PathGeometry(System::Collections::Generic::IEnumerable<System::Windows::Media::PathFigure ^> ^ figures);
public PathGeometry (System.Collections.Generic.IEnumerable<System.Windows.Media.PathFigure> figures);
new System.Windows.Media.PathGeometry : seq<System.Windows.Media.PathFigure> -> System.Windows.Media.PathGeometry
Public Sub New (figures As IEnumerable(Of PathFigure))

參數

figures
IEnumerable<PathFigure>

FiguresPathGeometry,描述 Path 的內容。

適用於

PathGeometry(IEnumerable<PathFigure>, FillRule, Transform)

使用指定的 PathGeometryFiguresFillRule,初始化 Transform 類別的新執行個體。

public:
 PathGeometry(System::Collections::Generic::IEnumerable<System::Windows::Media::PathFigure ^> ^ figures, System::Windows::Media::FillRule fillRule, System::Windows::Media::Transform ^ transform);
public PathGeometry (System.Collections.Generic.IEnumerable<System.Windows.Media.PathFigure> figures, System.Windows.Media.FillRule fillRule, System.Windows.Media.Transform transform);
new System.Windows.Media.PathGeometry : seq<System.Windows.Media.PathFigure> * System.Windows.Media.FillRule * System.Windows.Media.Transform -> System.Windows.Media.PathGeometry
Public Sub New (figures As IEnumerable(Of PathFigure), fillRule As FillRule, transform As Transform)

參數

figures
IEnumerable<PathFigure>

FiguresPathGeometry,描述 Path 的內容。

fillRule
FillRule

FillRulePathGeometry

transform
Transform

Transform,指定套用的轉換。

適用於