1 | import { __extends } from "tslib";
|
2 | import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | var CSSTransformValue =
|
10 |
|
11 | function (_super) {
|
12 | __extends(CSSTransformValue, _super);
|
13 |
|
14 | function CSSTransformValue(transforms) {
|
15 | var _this = _super.call(this) || this;
|
16 |
|
17 | _this.transforms = transforms;
|
18 | _this.is2D = transforms.every(function (transform) {
|
19 | return transform.is2D;
|
20 | });
|
21 | _this.length = transforms.length;
|
22 | return _this;
|
23 | }
|
24 |
|
25 | CSSTransformValue.prototype.clone = function () {
|
26 | return new CSSTransformValue(this.transforms);
|
27 | };
|
28 |
|
29 | CSSTransformValue.prototype.getType = function () {
|
30 | return CSSStyleValueType.kTransformType;
|
31 | };
|
32 |
|
33 | CSSTransformValue.prototype.buildCSSText = function (n, p, result) {
|
34 | var text = '';
|
35 | return result += text;
|
36 | };
|
37 | |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 | CSSTransformValue.prototype.toMatrix = function () {};
|
44 |
|
45 | return CSSTransformValue;
|
46 | }(CSSStyleValue);
|
47 |
|
48 | export { CSSTransformValue }; |
\ | No newline at end of file |