<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.4.25258.110" />

Brush

public abstract class Brush : MarshalByRefObject, ICloneable, IDisposable
Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.
protected Brush()

Initializes a new instance of the Brush class.

public abstract object Clone()

When overridden in a derived class, creates an exact copy of this Brush.

public void Dispose()

Releases all resources used by this Brush object.

protected virtual void Dispose(bool disposing)

Releases the unmanaged resources used by the Brush and optionally releases the managed resources.