The starting point of the gradient line. See UnitPoint. Defaults to
"top".The ending point of the gradient line. See UnitPoint. Defaults to
"bottom".Support
Usage
As a standalone view
Top-to-bottom gradient
Diagonal gradient
Horizontal gradient
As a fill
As a foreground style
As a background
See Also
- Color — solid color values
- AngularGradient — sweep gradient around a center
- RadialGradient — circular gradient from a center
- UnitPoint — coordinate system for gradient points