fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
11 lines (8 loc) • 500 B
JavaScript
import { FILL, STROKE } from '../constants.mjs';
/**
* 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'];
export { SHARED_ATTRIBUTES };
//# sourceMappingURL=attributes.mjs.map