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

GraphicsState

public sealed class GraphicsState : MarshalByRefObject
Represents the state of a Graphics object. This object is returned by a call to the Save methods. This class cannot be inherited.
namespace System.Drawing.Drawing2D { public sealed class GraphicsState : MarshalByRefObject { internal int _nativeState; internal GraphicsState(int nativeState) { _nativeState = nativeState; } } }