UNPKG

@thi.ng/pixel

Version:

Typedarray integer & float pixel buffers w/ customizable formats, blitting, drawing, convolution

13 lines (12 loc) 309 B
var Lane = /* @__PURE__ */ ((Lane2) => { Lane2[Lane2["ALPHA"] = 0] = "ALPHA"; Lane2[Lane2["BLUE"] = 1] = "BLUE"; Lane2[Lane2["GREEN"] = 2] = "GREEN"; Lane2[Lane2["RED"] = 3] = "RED"; return Lane2; })(Lane || {}); const ROT_IDS = ["rotateCW", "rotate180", "rotateCCW"]; export { Lane, ROT_IDS };