-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Media.LinearGradientBrush.#ctor(Windows.UI.Xaml.Media.GradientStopCollection,System.Double) |
winrt method |
Initializes a new instance of the LinearGradientBrush class that has the specified GradientStopCollection and angle.
The GradientStops to set on this brush.
A System.Double that represents the angle, in degrees, of the gradient. A value of 0 creates a horizontal gradient, and a value of 90 creates a vertical gradient. Negative values are permitted, as are values over 360 (which are treated as mod 360).