Share via


PathF Constructors

Definition

Overloads

PathF()

Initializes an empty path with no segments.

PathF(PathF)

Initializes a new path by copying the segments, points, and arc metadata of another PathF.

PathF(PointF)

Initializes a new path whose first (move) point is the specified point.

PathF(Single, Single)

Initializes a new path whose first (move) point is at the specified coordinates.

PathF()

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Initializes an empty path with no segments.

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

Applies to

PathF(PathF)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Initializes a new path by copying the segments, points, and arc metadata of another PathF.

public:
 PathF(Microsoft::Maui::Graphics::PathF ^ path);
public PathF(Microsoft.Maui.Graphics.PathF path);
new Microsoft.Maui.Graphics.PathF : Microsoft.Maui.Graphics.PathF -> Microsoft.Maui.Graphics.PathF
Public Sub New (path As PathF)

Parameters

path
PathF

The path to copy.

Applies to

PathF(PointF)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Initializes a new path whose first (move) point is the specified point.

public:
 PathF(Microsoft::Maui::Graphics::PointF point);
public PathF(Microsoft.Maui.Graphics.PointF point);
new Microsoft.Maui.Graphics.PathF : Microsoft.Maui.Graphics.PointF -> Microsoft.Maui.Graphics.PathF
Public Sub New (point As PointF)

Parameters

point
PointF

The starting point.

Applies to

PathF(Single, Single)

Source:
PathF.cs
Source:
PathF.cs
Source:
PathF.cs

Initializes a new path whose first (move) point is at the specified coordinates.

public:
 PathF(float x, float y);
public PathF(float x, float y);
new Microsoft.Maui.Graphics.PathF : single * single -> Microsoft.Maui.Graphics.PathF
Public Sub New (x As Single, y As Single)

Parameters

x
Single

X coordinate of the starting point.

y
Single

Y coordinate of the starting point.

Applies to