OpacityExtension extension

Extension to add opacity functionality to a widget.

on

Properties

opacity0 Opacity
Returns the widget with 0% opacity, making it fully invisible.
no setter
opacity10 Opacity
Returns the widget with 10% opacity.
no setter
opacity20 Opacity
Returns the widget with 20% opacity.
no setter
opacity25 Opacity
Returns the widget with 25% opacity.
no setter
opacity50 Opacity
Returns the widget with 50% opacity, making it half visible.
no setter
opacity75 Opacity
Returns the widget with 75% opacity.
no setter
opacity100 Opacity
Returns the widget with 100% opacity, making it fully visible.
no setter

Methods

opacity(double opacity) Opacity
Wraps the widget in an Opacity widget with the given opacity.