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