public static void DrawArc(this Canvas2d canvas, float x, float y, float radius, float startAngle, float endAngle, bool?anticlockwise = null) { canvas.Invoke("c2de.drawArc", x, y, radius, startAngle, endAngle, anticlockwise == true ? 1 : 0); }
public static void DrawLine(this Canvas2d canvas, float x1, float y1, float x2, float y2) { canvas.Invoke("c2de.drawLine", x1, y1, x2, y2); }