canvas API bindings