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

RegionData

public sealed class RegionData
Encapsulates the data that makes up a Region object. This class cannot be inherited.
using System.Runtime.CompilerServices; namespace System.Drawing.Drawing2D { [NullableContext(1)] [Nullable(0)] public sealed class RegionData { public byte[] Data { get; set; } internal RegionData(byte[] data) { Data = data; } } }