Class HatchBrush
Defines a brush with a hatch style and a color.
public class HatchBrush : Brush, IBaseObject, IDisposableObject, IDisposable, INotifyPropertyChanged, IEquatable<Brush>
- Inheritance
-
HatchBrush
- Implements
Remarks
A hatch pattern is made from the lines of a color defined by the Color property. The HatchStyle property defines what type of pattern the brush has and can be any value from the BrushHatchStyle enumeration.
Constructors
- HatchBrush(BrushHatchStyle, Color)
Initializes a new instance of the HatchBrush class with the specified BrushHatchStyle enumeration, and the color.
Properties
- AsColor
Gets color of the brush.
- BrushType
Gets type of the brush.
- Color
Gets the color of hatch lines drawn by this HatchBrush object.
- HatchStyle
Gets the hatch style of this HatchBrush object.
Methods
- CreateHandler()
Creates handler.
- CreateSkiaPaint()
Creates SKPaint for this brush.
- Equals(object?)
Indicates whether the current object is equal to another object of the same type.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.
- UpdateHandler()
Updates handler.