Skip to main content
A newer version of this page is available. .

SolidBrushObject Members

Paints an area with a solid color.

Constructors

Name Description
SolidBrushObject() Initializes a new instance of the SolidBrushObject class.
SolidBrushObject(Color) Initializes a new instance of the SolidBrushObject class with the specified brush color.
SolidBrushObject(String) Creates a SolidBrushObject object based on the specified string data.

Fields

Name Description
DefaultRectangle static Returns the default value for the BrushObject.BrushRect property. Inherited from BrushObject.
Empty static Represents an empty brush. Inherited from BrushObject.

Properties

Name Description
BrushRect Gets or sets the rectangle to paint by the brush. Inherited from BrushObject.
Color Gets or sets the color of the current brush.
IsDisposing Gets whether the form is currently being disposed of. Inherited from BaseObject.
IsEmpty Gets whether the current brush object is empty. Inherited from BrushObject.
IsUpdateLocked Gets whether the object has been locked for updating. Inherited from BaseObject.
Transform This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from BrushObject.

Methods

Name Description
Accept(IColorShader) Applies the specified shader to the current brush. Inherited from BrushObject.
Assign(BrushObject) Copies settings of the specified object to the current object. Inherited from BrushObject.
BeginUpdate() Locks the BaseObject object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseObject.
CancelUpdate() Unlocks the BaseObject object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseObject.
Dispose() Disposes the BaseObject object. Inherited from BaseObject.
EndUpdate() Unlocks the BaseObject object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetBrush(RectangleF2D) Gets a System.Drawing.Brush object that is set up in the same manner as the current object. Inherited from BrushObject.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPen(Single) Gets a System.Drawing.Pen object that is set up in the same manner as the current object. Inherited from BrushObject.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDifferFrom(BrushObject) Returns whether the current object has different settings than the specified one.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Changed Occurs after any property of the BaseObject object has been changed. Inherited from BaseObject.
Disposed Occurs after the BaseObject has been disposed of. Inherited from BaseObject.
See Also