UNPKG

@tomiaa/canvas-graffiti

Version:
17 lines (16 loc) 366 B
import { Rect as e } from "./Rect.js"; import "./FillArc.js"; const r = { ...e, pointermove(o) { var t, i; (t = e.pointermove) == null || t.call(this, o), (i = this.bufferCtx) == null || i.fill(); }, pointerup(o) { var t, i; (t = e.pointerup) == null || t.call(this, o), (i = this.ctx) == null || i.fill(); } }; export { r as FillRect };