setOpacity

fun setOpacity(opacity: Double)(source)

Whole-panel opacity: 0.0 is invisible, 1.0 is opaque. Persists with the display; applies to text and background alike.