image-in-browser
Version:
Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)
43 lines • 1.06 kB
JavaScript
import { PsdEffect } from './psd-effect.js';
export class PsdDropShadowEffect extends PsdEffect {
get blur() {
return this._blur;
}
get intensity() {
return this._intensity;
}
get angle() {
return this._angle;
}
get distance() {
return this._distance;
}
get color() {
return this._color;
}
get blendMode() {
return this._blendMode;
}
get globalAngle() {
return this._globalAngle;
}
get opacity() {
return this._opacity;
}
get nativeColor() {
return this._nativeColor;
}
constructor(opt) {
super(opt);
this._blur = opt.blur;
this._intensity = opt.intensity;
this._angle = opt.angle;
this._distance = opt.distance;
this._color = opt.color;
this._blendMode = opt.blendMode;
this._globalAngle = opt.globalAngle;
this._opacity = opt.opacity;
this._nativeColor = opt.nativeColor;
}
}
//# sourceMappingURL=psd-drop-shadow-effect.js.map