needsRepaint property

bool needsRepaint
getter/setter pair

Indicates whether the internal CustomPainter needs repainting on each tick. The flags allow the $render() process to know if it has to requestRender() or not.

See CustomPainter.shouldRepaint

Implementation

bool needsRepaint = false;