repaint

fun repaint(decoratable: Decoratable, tm: Long, x: Int, y: Int, width: Int, height: Int, repaint: (Long, Int, Int, Int, Int) -> Unit)

Hands repaint, the superclass repaint, tm and the area at (x, y) of width by height, in decoratable's coordinates, grown to all a change in it repaints: by how far the steps spread a change, such as a blur's or a shadow's reach, held inside the bounds, or to the whole bounds while the steps move what decoratable paints, as a rotating layer does. On the event dispatch thread, the area is the whole bounds until the paint that DecorationModifierNode.invalidateLayerProperties asked for runs. Content changes must request a repaint for decoration steps to show them on the next paint. Call this from repaint(long, int, int, int, int) of a Decoratable.

Throws

if decoratable is not a java.awt.Component.