isOpaque

fun isOpaque(decoratable: Decoratable): Boolean

Whether decoratable, painted through this decoration, still covers every pixel of its bounds: false where it has paint outsets, or where a step paints translucently, cuts the content (Decorator.isOpaque) or paints at a box smaller than the layout bounds. The steps' own opacity is the one the library last gathered; the boxes are read at each call.

Throws

if decoratable is not a java.awt.Component.