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

PenAlignment

public enum PenAlignment
Specifies the alignment of a Pen object in relation to the theoretical, zero-width line.
namespace System.Drawing.Drawing2D { public enum PenAlignment { Center, Inset, Outset, Left, Right } }