BlazeWidgetItemImageGradientOverlayStyle - Android
The BlazeWidgetItemImageGradientOverlayStyle is responsible for defining the style of the gradient on top of the image displayed on each Widget item.
Properties
isVisible
var isVisible: BooleanA Boolean value that determines whether the gradient is visible.
startColor
var startColor: IntDefines the start color of the gradient.
endColor
var endColor: IntDefines the end color of the gradient.
position
var position: BlazeGradientPositionA BlazeGradientPosition param that defines the position of the gradient.
BlazeGradientPosition 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?
