UNPKG

intentful

Version:

Create Custom Skills with less headache

29 lines (28 loc) 1.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AVGPath = void 0; const item_1 = require("./item"); class AVGPath extends item_1.AVGItem { constructor(props) { super('path', props); } commandSpecificModel() { return { fill: this.props.fill, fillOpacity: this.props.fillOpacity, fillTransform: this.props.fillTransform, pathData: this.props.pathData, pathLength: this.props.pathLength, stroke: this.props.stroke, strokeDashArray: this.props.strokeDashArray, strokeDashOffset: this.props.strokeDashOffset, strokeLineCap: this.props.strokeLineCap, strokeLineJoin: this.props.strokeLineJoin, strokeMiterLimit: this.props.strokeMiterLimit, strokeOpacity: this.props.strokeOpacity, strokeTransform: this.props.strokeTransform, strokeWidth: this.props.strokeWidth }; } } exports.AVGPath = AVGPath;