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

DashCap

public enum DashCap
Specifies the type of graphic shape to use on both ends of each dash in a dashed line.
Flat = 0

Specifies a square cap that squares off both ends of each dash.

Round = 2

Specifies a circular cap that rounds off both ends of each dash.

Specifies a triangular cap that points both ends of each dash.