UNPKG

fabric

Version:

Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.

10 lines 419 B
import type { FabricObject } from '../shapes/Object/FabricObject'; export type SVGParsingOutput = { objects: (FabricObject | null)[]; options: Record<string, any>; elements: Element[]; allElements: Element[]; }; export type TSvgReviverCallback = (element: Element, fabricObject: FabricObject) => void; export type CSSRules = Record<string, Record<string, string>>; //# sourceMappingURL=typedefs.d.ts.map