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

PenAlignment

public enum PenAlignment
Specifies the alignment of a Pen object in relation to the theoretical, zero-width line.
Center = 0

Specifies that the Pen object is centered over the theoretical line.

Inset = 1

Specifies that the Pen is positioned on the inside of the theoretical line.

Left = 3

Specifies the Pen is positioned to the left of the theoretical line.

Outset = 2

Specifies the Pen is positioned on the outside of the theoretical line.

Right = 4

Specifies the Pen is positioned to the right of the theoretical line.