ColorOpacityExt extension
- on
Methods
-
setOpacity(
double opacity) → Color -
Available on Color, provided by the ColorOpacityExt extension
Returns a new color with the givenopacity(0.0 to 1.0). Replacement for the deprecatedwithOpacitymethod.