[]
Initializes a new instance of the LinearBoxGradientBrush class.
public LinearBoxGradientBrush(Color[] colors, GradientDirection direction)
| Type | Name | Description |
|---|---|---|
| Color[] | colors | An array of Color that indicates the linear gradient colors. |
| GradientDirection | direction | A GradientDirection that indicates the gradient direction. |