withOpacity abstract method
Returns this ColorModel
with the provided opacity
value.
opacity
is the equivalent of alpha normalized to a 0
to 1
value.
Implementation
@override
ColorModel withOpacity(double opacity);
Returns this ColorModel
with the provided opacity
value.
opacity
is the equivalent of alpha normalized to a 0
to 1
value.
@override
ColorModel withOpacity(double opacity);