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

DashStyle

public enum DashStyle
Specifies the style of dashed lines drawn with a Pen object.
Custom = 5

Specifies a user-defined custom dash style.

Dash = 1

Specifies a line consisting of dashes.

DashDot = 3

Specifies a line consisting of a repeating pattern of dash-dot.

Specifies a line consisting of a repeating pattern of dash-dot-dot.

Dot = 2

Specifies a line consisting of dots.

Solid = 0

Specifies a solid line.