Share via


PathGeometry Constructors

Definition

Overloads

Name Description
PathGeometry()

Initializes a new instance of the PathGeometry class.

PathGeometry(PathFigureCollection)

Initializes a new instance of the PathGeometry class with the specified figures.

PathGeometry(PathFigureCollection, FillRule)

Initializes a new instance of the PathGeometry class with the specified figures and fill rule.

PathGeometry()

Source:
PathGeometry.cs
Source:
PathGeometry.cs
Source:
PathGeometry.cs
Source:
PathGeometry.cs

Initializes a new instance of the PathGeometry class.

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

Applies to

PathGeometry(PathFigureCollection)

Source:
PathGeometry.cs
Source:
PathGeometry.cs
Source:
PathGeometry.cs
Source:
PathGeometry.cs

Initializes a new instance of the PathGeometry class with the specified figures.

public:
 PathGeometry(Microsoft::Maui::Controls::Shapes::PathFigureCollection ^ figures);
public PathGeometry(Microsoft.Maui.Controls.Shapes.PathFigureCollection figures);
new Microsoft.Maui.Controls.Shapes.PathGeometry : Microsoft.Maui.Controls.Shapes.PathFigureCollection -> Microsoft.Maui.Controls.Shapes.PathGeometry
Public Sub New (figures As PathFigureCollection)

Parameters

figures
PathFigureCollection

The collection of path figures that define this geometry.

Applies to

PathGeometry(PathFigureCollection, FillRule)

Source:
PathGeometry.cs
Source:
PathGeometry.cs
Source:
PathGeometry.cs
Source:
PathGeometry.cs

Initializes a new instance of the PathGeometry class with the specified figures and fill rule.

public:
 PathGeometry(Microsoft::Maui::Controls::Shapes::PathFigureCollection ^ figures, Microsoft::Maui::Controls::Shapes::FillRule fillRule);
public PathGeometry(Microsoft.Maui.Controls.Shapes.PathFigureCollection figures, Microsoft.Maui.Controls.Shapes.FillRule fillRule);
new Microsoft.Maui.Controls.Shapes.PathGeometry : Microsoft.Maui.Controls.Shapes.PathFigureCollection * Microsoft.Maui.Controls.Shapes.FillRule -> Microsoft.Maui.Controls.Shapes.PathGeometry
Public Sub New (figures As PathFigureCollection, fillRule As FillRule)

Parameters

figures
PathFigureCollection

The collection of path figures that define this geometry.

fillRule
FillRule

The rule that determines how the interior of this geometry is filled.

Applies to