BrushExtensions Class
Provides extension methods for the type Brush.
public static class BrushExtensions
- Inheritance:
- object object
Methods
Tint(Brush, Color)
public static Brush Tint(this Brush brush, Color tintColor)
| Parameter | Type | Description |
|---|---|---|
| brush | Brush | The Brush to clone and tint. |
| tintColor | Color | The tint Color. |
Returns
Remarks
The brush returned will be always be frozen. A non-frozen brush can be obtained by calling the Tint(Brush, Color) overload.
Tint(Brush, Color, bool)
public static Brush Tint(this Brush brush, Color tintColor, bool freeze)
| Parameter | Type | Description |
|---|---|---|
| brush | Brush | The Brush to clone and tint. |
| tintColor | Color | The tint Color. |
| freeze | bool | if set to |