opacity.js 545 B

1234567891011121314151617181920212223
  1. function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
  2. var Base = require('./base');
  3. var Opacity =
  4. /*#__PURE__*/
  5. function (_Base) {
  6. _inheritsLoose(Opacity, _Base);
  7. function Opacity(cfg) {
  8. var _this;
  9. _this = _Base.call(this, cfg) || this;
  10. _this.names = ['opacity'];
  11. _this.type = 'opacity';
  12. _this.gradient = null;
  13. return _this;
  14. }
  15. return Opacity;
  16. }(Base);
  17. module.exports = Opacity;