<PackageReference Include="System.Drawing.Common" Version="8.0.0-preview.4.23259.4" />

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.