PathGeometry 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PathGeometry 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| PathGeometry() |
初始化 PathGeometry 类的新实例。 |
| PathGeometry(IEnumerable<PathFigure>) |
用指定的PathGeometry值初始化类的新实例Figures。 |
| PathGeometry(IEnumerable<PathFigure>, FillRule, Transform) |
使用指定的PathGeometry和 FiguresFillRule。初始化类的新实例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和 FiguresFillRule。初始化类的新实例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