The opacity argument must not be null and must be between 0.0 and 1.0 (inclusive).
final double opacity;