render method
void
render()
Implementation
void render(Canvas canvas, Vector2 position, Vector2 origin, double scale, Vector2 size, void Function(Canvas canvas) renderView) {
canvas.save();
canvas.transform(_computeProjection(position, origin, scale).storage);
canvas.save();
final innerProjection = _computeInnerProjection(size);
canvas.clipRect(Rect.fromLTWH(0, 0, size.x, size.y));
canvas.transform(innerProjection.storage);
canvas.drawColor(Colors.black, BlendMode.clear);
canvas.save();
renderView(canvas);
canvas.restore();
canvas.restore();
canvas.restore();
}