@override void render(Canvas canvas, {double x = 0.0, double y = 0.0}) { beginRendering(); drawLayer(); finishRendering(); super.render(canvas, x: x, y: y); }