<PackageReference Include="System.Drawing.Common" Version="8.0.6" />

PathData

public sealed class PathData
Contains the graphical data that makes up a GraphicsPath object. This class cannot be inherited.
public PointF[] Points { get; set; }

Gets or sets an array of PointF structures that represents the points through which the path is constructed.

public byte[] Types { get; set; }

Gets or sets the types of the corresponding points in the path.

public PathData()

Initializes a new instance of the PathData class.