Property Alignment
Alignment
Gets or sets how the stroke is positioned relative to the shape boundary. Defaults to Center.
public PenAlignment Alignment { get; set; }
Property Value
Examples
var pen = new Pen(new Color32(0, 0, 0), 4) { Alignment = PenAlignment.Inside };