Represents a linear gradient brush with 1, 2 or 6 colors.
The following tables list the members exposed by the GradientBrush type.
Name | Description | |
---|---|---|
Initializes a new instance of the GradientBrush class. |
Name | Description | |
---|---|---|
Get or set angle. Used only when colors are more than 1. |
||
Gets or sets the brush colors (must contain 1, 2 or 6 colors), you must to set Positions as well. |
||
Get or set positions there must be 6 values in 0 - 1 range. |
Name | Description | |
---|---|---|
Clones this brush. |
||
Create Solid (if colors count = 1) or LinearGradientBrush (colors count >1) |
||
Returns XML representation of this brush. |