BlazeWidgetItemImageGradientOverlayStyle - iOS
The BlazeWidgetItemImageGradientOverlayStyle is responsible for defining the style of the gradient on top of the image displayed on each Widget item. covers 40% of the widget item's image height.
Properties
isVisible
var isVisible: BoolA Bool value that determines whether the gradient is visible.
startColor
var startColor: UIColorDefines the start color of the gradient
endColor
var endColor: UIColorDefines the end color of the gradient
position
var position: PositionA position param that defines the position of the gradient
Gradient 'Position' enum
The position of the gradient within the image.
Cases
| Value | Description |
|---|---|
| top | Aligns the top of the gradient to the top of the widget item. |
| center | Aligns the gradient to be centered vertically within the widget item. |
| bottom | Aligns the bottom of the gradient to the bottom of the widget item. |
Updated 11 days ago
Did this page help you?
