UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

38 lines 1.51 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { BaseImageEffect } from "./BaseImageEffect"; var FiltersEffect = /** @class */ (function (_super) { __extends(FiltersEffect, _super); function FiltersEffect(brightness, contrast, hue, saturation, grayscale, sepia) { var _this = _super.call(this) || this; _this.brightness = 0; _this.contrast = 0; _this.hue = 0; _this.saturation = 0; _this.grayscale = false; _this.sepia = false; // ReSharper disable once InconsistentNaming _this.__type = "FiltersEffect"; _this.brightness = brightness; _this.contrast = contrast; _this.hue = hue; _this.saturation = saturation; _this.grayscale = grayscale; _this.sepia = sepia; return _this; } return FiltersEffect; }(BaseImageEffect)); export { FiltersEffect }; //# sourceMappingURL=FiltersEffect.js.map