Class Brush
The base brush class.
public abstract class Brush : DisposableObject, IDisposable
- Inheritance
-
Brush
- Implements
- Derived
- Inherited Members
Constructors
Brush()
protected Brush()
Properties
Opacity
Gets or sets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque.
public float Opacity { get; set; }
Property Value
- float
The brush opacity value.
Methods
DeepClone()
Creates a new deep clone of the current Brush.
public virtual Brush DeepClone()
Returns
Equals(Brush)
Check if objects are equal.
protected bool Equals(Brush other)
Parameters
other
BrushThe other object.
Returns
- bool
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe other object.
Returns
- bool
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
- int
The hash code.