SolidBrush Class

Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths.
Inheritance Hierarchy

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public class SolidBrush : Brush

The SolidBrush type exposes the following members.

Constructors
  NameDescription
Public methodSolidBrush
Initializes a new instance of the SolidBrush class.
Properties
  NameDescription
Public propertyColor
Gets or sets the color of this SolidBrush object.
Methods
  NameDescription
Public methodClone
Creates an exact copy of this SolidBrush object.
(Overrides BrushClone.)
Public methodDispose
Releases all resources used by this Brush object.
(Inherited from Brush.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from Brush.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also