語言

PathGeometry 建構函式

定義

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

多載

名稱 Description
PathGeometry()

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

PathGeometry(IEnumerable<PathFigure>)

使用指定的 PathGeometry,初始化 Figures 類別的新實例。

PathGeometry(IEnumerable<PathFigure>, FillRule, Transform)

初始化該類別的新實例 PathGeometry ,包含指定的 Figures、 FillRule、 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>

Figures該 的 PathGeometry 描述了 的內容Path。

適用於

PathGeometry(IEnumerable<PathFigure>, FillRule, Transform)

初始化該類別的新實例 PathGeometry ,包含指定的 Figures、 FillRule、 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>

Figures該 的 PathGeometry 描述了 的內容Path。

fillRule
FillRule

FillRule的 PathGeometry。

transform
Transform

該 Transform 表示所應用的轉換。

適用於