painbrush

1.0.21.1.0
dist/src/layer/make-text.d.ts
dist/src/layer/make-text.d.tsDeleted
−27
Index: package/dist/src/layer/make-text.d.ts
===================================================================
--- package/dist/src/layer/make-text.d.ts
+++ package/dist/src/layer/make-text.d.ts
@@ -1,27 +0,0 @@
-import { type Brush } from "../color/brush.ts";
-import type { Font } from "../typography.ts";
-import type { Layer } from "../layer.ts";
-type TextLayerProps = {
-    /**
-     * Total pixels before truncating the text
-     */
-    maxLengthPx?: number;
-    /**
-     * Background behind each individual character
-     */
-    letterPlateBrush?: Brush;
-    /**
-     * Background for the whole bounding box of the text
-     *  */
-    bgPlateBrush?: Brush;
-    /**
-     * Character to use to identify possible linebreaks.
-     * Normally you just want a space ig??
-     *  */
-    breakLinesOn?: string;
-};
-/**
- * Writes the text
- */
-export declare const makeTextLayer: (text: string, font: Font, brush?: Brush, { letterPlateBrush, bgPlateBrush, maxLengthPx, breakLinesOn, }?: TextLayerProps) => Layer;
-export {};