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

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 } }