PathGeometry 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PathGeometry 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| PathGeometry() |
初始化 PathGeometry 類別的新執行個體。 |
| PathGeometry(IEnumerable<PathFigure>) |
使用指定的 PathGeometry,初始化 Figures 類別的新實例。 |
| PathGeometry(IEnumerable<PathFigure>, FillRule, Transform) |
初始化該類別的新實例 PathGeometry ,包含指定的 Figures、 FillRule、 Transform和 。 |
PathGeometry()
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