painbrush
1.0.21.1.0
dist/src/color/brush.d.ts−
dist/src/color/brush.d.tsDeleted−11
Index: package/dist/src/color/brush.d.ts
===================================================================
--- package/dist/src/color/brush.d.ts
+++ package/dist/src/color/brush.d.ts
@@ -1,11 +0,0 @@
-import type { LayerMeta } from "../layer.ts";
-import { type Color } from "./utils.ts";
-/**
-Anything that paints on a layer is a brush function. Brushes get the pixel position and layer metadata and decide what color to paint.
-
-Normally you just wanna use a solid color and theres solidFillBrush for that. check out other builtins in this file.
-*/
-export type Brush = (index: number, layer: LayerMeta) => Color;
-export declare const solidFillBrush: (color: Color) => Brush;
-export declare const borderBrush: (size?: number, borderColor?: Color, innerColor?: Color) => Brush;
-export declare const alphaBrush: () => Brush;