first commit
This commit is contained in:
18
node_modules/lottie-web/player/js/elements/helpers/shapes/SVGFillStyleData.js
generated
vendored
Normal file
18
node_modules/lottie-web/player/js/elements/helpers/shapes/SVGFillStyleData.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import DynamicPropertyContainer from '../../../utils/helpers/dynamicProperties';
|
||||
|
||||
import {
|
||||
extendPrototype,
|
||||
} from '../../../utils/functionExtensions';
|
||||
import PropertyFactory from '../../../utils/PropertyFactory';
|
||||
|
||||
function SVGFillStyleData(elem, data, styleOb) {
|
||||
this.initDynamicPropertyContainer(elem);
|
||||
this.getValue = this.iterateDynamicProperties;
|
||||
this.o = PropertyFactory.getProp(elem, data.o, 0, 0.01, this);
|
||||
this.c = PropertyFactory.getProp(elem, data.c, 1, 255, this);
|
||||
this.style = styleOb;
|
||||
}
|
||||
|
||||
extendPrototype([DynamicPropertyContainer], SVGFillStyleData);
|
||||
|
||||
export default SVGFillStyleData;
|
Reference in New Issue
Block a user