first commit
This commit is contained in:
20
node_modules/lottie-web/player/js/elements/helpers/shapes/SVGGradientStrokeStyleData.js
generated
vendored
Normal file
20
node_modules/lottie-web/player/js/elements/helpers/shapes/SVGGradientStrokeStyleData.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import {
|
||||
extendPrototype,
|
||||
} from '../../../utils/functionExtensions';
|
||||
import DynamicPropertyContainer from '../../../utils/helpers/dynamicProperties';
|
||||
import PropertyFactory from '../../../utils/PropertyFactory';
|
||||
import DashProperty from '../../../utils/shapes/DashProperty';
|
||||
import SVGGradientFillStyleData from './SVGGradientFillStyleData';
|
||||
|
||||
function SVGGradientStrokeStyleData(elem, data, styleOb) {
|
||||
this.initDynamicPropertyContainer(elem);
|
||||
this.getValue = this.iterateDynamicProperties;
|
||||
this.w = PropertyFactory.getProp(elem, data.w, 0, null, this);
|
||||
this.d = new DashProperty(elem, data.d || {}, 'svg', this);
|
||||
this.initGradientData(elem, data, styleOb);
|
||||
this._isAnimated = !!this._isAnimated;
|
||||
}
|
||||
|
||||
extendPrototype([SVGGradientFillStyleData, DynamicPropertyContainer], SVGGradientStrokeStyleData);
|
||||
|
||||
export default SVGGradientStrokeStyleData;
|
Reference in New Issue
Block a user