render method
Implementation
@mustCallSuper
void render(Canvas canvas, {double x = 0.0, double y = 0.0}) {
if (_picture == null) {
return;
}
canvas.save();
canvas.translate(x, y);
preProcessors.forEach((p) => p.process(_picture!, canvas));
canvas.drawPicture(_picture!);
postProcessors.forEach((p) => p.process(_picture!, canvas));
canvas.restore();
}