[]
Specifies the gradient style of the brush.
public enum GradientStyle
Name | Description |
---|---|
Diagonal | From left-bottom (first color) to right-top (second color). |
DiagonalBack | From left-top (first color) to right-bottom (second color). |
DiagonalBackCenter | From center (first color) to left-top and right-bottom (second color). |
DiagonalCenter | From center (first color) to left-bottom and right-top (second color). |
FromCenter | From center (first color) to corners (second color). |
Horizontal | From left (first color) to right (second color). |
HorizontalCenter | From center (first color) to left and right (second color). |
None | No gradient filling. |
Radial | From center (first color) to corners (second color) in radial direction. |
Vertical | From top (first color) to bottom (second color). |
VerticalCenter | From center (first color) to top and bottom (second color). |