Class SolidBrush
Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths.
public class SolidBrush : Brush, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged, IEquatable<Brush>
- Inheritance
-
SolidBrush
- Implements
Constructors
- SolidBrush(Color)
Initializes a new SolidBrush object of the specified color.
- SolidBrush(Color, bool)
Initializes a new SolidBrush object of the specified color.
Properties
- AsColor
Gets color of the brush.
- BrushType
Gets type of the brush.
- Color
Gets the color of this SolidBrush object.
Methods
- CreateHandler()
Creates handler.
- Equals(object?)
Indicates whether the current object is equal to another object of the same type.
- GetHashCode()
Serves as the default hash function.
- SetColor(Color)
Same as Color property implemented as method.
- ToString()
Returns a string that represents the current object.
- UpdateHandler()
Updates handler.