You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.0 KiB
38 lines
1.0 KiB
import PropertyFactory from '../utils/PropertyFactory';
|
|
|
|
function SliderEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);
|
|
}
|
|
function AngleEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);
|
|
}
|
|
function ColorEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 1, 0, container);
|
|
}
|
|
function PointEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 1, 0, container);
|
|
}
|
|
function LayerIndexEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);
|
|
}
|
|
function MaskIndexEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);
|
|
}
|
|
function CheckboxEffect(data, elem, container) {
|
|
this.p = PropertyFactory.getProp(elem, data.v, 0, 0, container);
|
|
}
|
|
function NoValueEffect() {
|
|
this.p = {};
|
|
}
|
|
|
|
export {
|
|
SliderEffect,
|
|
AngleEffect,
|
|
ColorEffect,
|
|
PointEffect,
|
|
LayerIndexEffect,
|
|
MaskIndexEffect,
|
|
CheckboxEffect,
|
|
NoValueEffect,
|
|
};
|