Brush |
[SerializableAttribute] public class BrushX : IEquatable<BrushX>, IImmutable
The BrushX type exposes the following members.
Name | Description | |
---|---|---|
BrushX(BrushType) | Initializes a new instance of the BrushX class | |
BrushX(NamedColor) | Initializes a new instance of the BrushX class |
Name | Description | |
---|---|---|
BackColor | ||
BrushType | ||
Color | ||
DefaultHatchBrush | ||
DefaultSyntheticBrush | ||
DefaultTextureBrush | ||
Empty | ||
ExchangeColors | ||
GradientAngle | ||
GradientColorScale | ||
GradientFocus | ||
IsInvisible | Returns true if the brush is invisible, i.e. is a solid and transparent brush. | |
IsSolidBrush | ||
IsVisible | Returns true if the brush is visible, i.e. is not a transparent brush. | |
TextureImage | ||
TextureOffsetX | ||
TextureOffsetY | ||
TextureScale | ||
WrapMode |
Name | Description | |
---|---|---|
CalculateHash | ||
Clone | Clones this instance, and sets the cached HashCode to null. | |
Equals(BrushX) | ||
Equals(Object) | (Overrides ObjectEquals(Object)) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | (Overrides ObjectGetHashCode) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
WithBackColor | ||
WithBrushType | ||
WithColor | ||
WithColors | ||
WithExchangedColors | ||
WithGradientAngle | ||
WithGradientColorScale | ||
WithGradientFocus | ||
WithTextureImage | ||
WithTextureOffsetX | ||
WithTextureOffsetY | ||
WithTextureScale | ||
WithWrapMode |
Name | Description | |
---|---|---|
Equality(BrushX, BrushX) | ||
Inequality(BrushX, BrushX) |
Name | Description | |
---|---|---|
_angle | ||
_backColor | ||
_brushType | ||
_cachedHashCode | Cached hash code. Must be invaliated after cloning the instance. | |
_exchangeColors | ||
_foreColor | ||
_gradientColorScale | ||
_offsetX | For a gradient brush, this is the GradientFocus property. For texture brushes, it is the X-Offset property. | |
_offsetY | ||
_textureImage | ||
_textureScale | ||
_wrapMode |