UNPKG

fabric

Version:

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

31 lines (30 loc) 564 B
import { FILL, STROKE } from "../constants.mjs"; //#region src/parser/attributes.ts /** * Attributes parsed from all SVG elements * @type array */ const SHARED_ATTRIBUTES = [ "display", "transform", FILL, "fill-opacity", "fill-rule", "opacity", STROKE, "stroke-dasharray", "stroke-linecap", "stroke-dashoffset", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "id", "paint-order", "vector-effect", "instantiated_by_use", "clip-path" ]; //#endregion export { SHARED_ATTRIBUTES }; //# sourceMappingURL=attributes.mjs.map