invalidateDrawCache

Makes every layer of this node, and of each step declared before it, record on its next draw. On a node with no layer from obtainImageLayer, it makes every layer of the component record. Requests no repaint.

Call it on the event dispatch thread when something a recording is made from changes, such as a property of the step. Off it, a repaint request of the component makes every layer of the component record.

Throws

if called off the event dispatch thread.