UNPKG

@thi.ng/rasterize

Version:

Headless 2D shape drawing, filling & rasterization for arbitrary targets/purposes (no canvas required)

3 lines 149 B
import type { Fn3, IGrid2D } from "@thi.ng/api"; export type Shader2D<T> = Fn3<IGrid2D<any, T>, number, number, T>; //# sourceMappingURL=api.d.ts.map