UNPKG

typography-canvas-renderer

Version:

A lightweight npm package for rendering typographic content (text and images) on HTML5 Canvas with full CSS styling support including borders, border-radius, multiple border styles, inline text rendering, auto height calculation, and image support

6 lines 268 B
import type { ParsedCSS } from './types.js'; /** * Validates CSS properties and returns parsed values */ export declare const validateAndParseCSS: (css: Record<string, string>, _elementType: "text" | "image") => ParsedCSS; //# sourceMappingURL=css-validator.d.ts.map