void arcTo(double x1, double y1, double x2, double y2, double radius) { addAction((Canvas canvas, Size size) { path2d.arcTo(x1, y1, x2, y2, radius); }); }