123456789101112131415161718192021222324252627 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- var TransformEffect = /** @class */ (function () {
- function TransformEffect(offsetX, offsetY, matrix) {
- this.type = 0 /* TRANSFORM */;
- this.offsetX = offsetX;
- this.offsetY = offsetY;
- this.matrix = matrix;
- this.target = 2 /* BACKGROUND_BORDERS */ | 4 /* CONTENT */;
- }
- return TransformEffect;
- }());
- exports.TransformEffect = TransformEffect;
- var ClipEffect = /** @class */ (function () {
- function ClipEffect(path, target) {
- this.type = 1 /* CLIP */;
- this.target = target;
- this.path = path;
- }
- return ClipEffect;
- }());
- exports.ClipEffect = ClipEffect;
- exports.isTransformEffect = function (effect) {
- return effect.type === 0 /* TRANSFORM */;
- };
- exports.isClipEffect = function (effect) { return effect.type === 1 /* CLIP */; };
- //# sourceMappingURL=effects.js.map
|