@next2d/filters 3.15.1 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/BevelFilter.js +1 -140
- package/src/BitmapFilter.js +0 -28
- package/src/BlurFilter.js +1 -48
- package/src/ColorMatrixFilter.js +1 -16
- package/src/ConvolutionFilter.js +1 -105
- package/src/DisplacementMapFilter.js +1 -138
- package/src/DropShadowFilter.js +1 -127
- package/src/GlowFilter.js +1 -94
- package/src/GradientBevelFilter.js +1 -127
- package/src/GradientGlowFilter.js +1 -127
package/package.json
CHANGED
package/src/BevelFilter.js
CHANGED
|
@@ -47,146 +47,7 @@ export class BevelFilter extends BitmapFilter {
|
|
|
47
47
|
* @member {number}
|
|
48
48
|
* @public
|
|
49
49
|
*/
|
|
50
|
-
|
|
51
|
-
enumerable: true,
|
|
52
|
-
configurable: true,
|
|
53
|
-
writable: true,
|
|
54
|
-
value: 0
|
|
55
|
-
});
|
|
56
|
-
/**
|
|
57
|
-
* @description BevelFilterの認識番号
|
|
58
|
-
* The recognition number of the BevelFilter.
|
|
59
|
-
*
|
|
60
|
-
* @member {number}
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
|
-
Object.defineProperty(this, "_$blurX", {
|
|
64
|
-
enumerable: true,
|
|
65
|
-
configurable: true,
|
|
66
|
-
writable: true,
|
|
67
|
-
value: void 0
|
|
68
|
-
});
|
|
69
|
-
/**
|
|
70
|
-
* @type {number}
|
|
71
|
-
* @default 4
|
|
72
|
-
* @private
|
|
73
|
-
*/
|
|
74
|
-
Object.defineProperty(this, "_$blurY", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true,
|
|
77
|
-
writable: true,
|
|
78
|
-
value: void 0
|
|
79
|
-
});
|
|
80
|
-
/**
|
|
81
|
-
* @type {IFilterQuality}
|
|
82
|
-
* @default 1
|
|
83
|
-
* @private
|
|
84
|
-
*/
|
|
85
|
-
Object.defineProperty(this, "_$quality", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
configurable: true,
|
|
88
|
-
writable: true,
|
|
89
|
-
value: void 0
|
|
90
|
-
});
|
|
91
|
-
/**
|
|
92
|
-
* @type {number}
|
|
93
|
-
* @default 4
|
|
94
|
-
* @private
|
|
95
|
-
*/
|
|
96
|
-
Object.defineProperty(this, "_$distance", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
configurable: true,
|
|
99
|
-
writable: true,
|
|
100
|
-
value: void 0
|
|
101
|
-
});
|
|
102
|
-
/**
|
|
103
|
-
* @type {number}
|
|
104
|
-
* @default 45
|
|
105
|
-
* @private
|
|
106
|
-
*/
|
|
107
|
-
Object.defineProperty(this, "_$angle", {
|
|
108
|
-
enumerable: true,
|
|
109
|
-
configurable: true,
|
|
110
|
-
writable: true,
|
|
111
|
-
value: void 0
|
|
112
|
-
});
|
|
113
|
-
/**
|
|
114
|
-
* @type {number}
|
|
115
|
-
* @default 0xffffff
|
|
116
|
-
* @private
|
|
117
|
-
*/
|
|
118
|
-
Object.defineProperty(this, "_$highlightColor", {
|
|
119
|
-
enumerable: true,
|
|
120
|
-
configurable: true,
|
|
121
|
-
writable: true,
|
|
122
|
-
value: void 0
|
|
123
|
-
});
|
|
124
|
-
/**
|
|
125
|
-
* @type {number}
|
|
126
|
-
* @default 1
|
|
127
|
-
* @private
|
|
128
|
-
*/
|
|
129
|
-
Object.defineProperty(this, "_$highlightAlpha", {
|
|
130
|
-
enumerable: true,
|
|
131
|
-
configurable: true,
|
|
132
|
-
writable: true,
|
|
133
|
-
value: void 0
|
|
134
|
-
});
|
|
135
|
-
/**
|
|
136
|
-
* @type {number}
|
|
137
|
-
* @default 0
|
|
138
|
-
* @private
|
|
139
|
-
*/
|
|
140
|
-
Object.defineProperty(this, "_$shadowColor", {
|
|
141
|
-
enumerable: true,
|
|
142
|
-
configurable: true,
|
|
143
|
-
writable: true,
|
|
144
|
-
value: void 0
|
|
145
|
-
});
|
|
146
|
-
/**
|
|
147
|
-
* @type {number}
|
|
148
|
-
* @default 1
|
|
149
|
-
* @private
|
|
150
|
-
*/
|
|
151
|
-
Object.defineProperty(this, "_$shadowAlpha", {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
configurable: true,
|
|
154
|
-
writable: true,
|
|
155
|
-
value: void 0
|
|
156
|
-
});
|
|
157
|
-
/**
|
|
158
|
-
* @type {number}
|
|
159
|
-
* @default 1
|
|
160
|
-
* @private
|
|
161
|
-
*/
|
|
162
|
-
Object.defineProperty(this, "_$strength", {
|
|
163
|
-
enumerable: true,
|
|
164
|
-
configurable: true,
|
|
165
|
-
writable: true,
|
|
166
|
-
value: void 0
|
|
167
|
-
});
|
|
168
|
-
/**
|
|
169
|
-
* @type {string}
|
|
170
|
-
* @default "inner"
|
|
171
|
-
* @private
|
|
172
|
-
*/
|
|
173
|
-
Object.defineProperty(this, "_$type", {
|
|
174
|
-
enumerable: true,
|
|
175
|
-
configurable: true,
|
|
176
|
-
writable: true,
|
|
177
|
-
value: void 0
|
|
178
|
-
});
|
|
179
|
-
/**
|
|
180
|
-
* @type {boolean}
|
|
181
|
-
* @default false
|
|
182
|
-
* @private
|
|
183
|
-
*/
|
|
184
|
-
Object.defineProperty(this, "_$knockout", {
|
|
185
|
-
enumerable: true,
|
|
186
|
-
configurable: true,
|
|
187
|
-
writable: true,
|
|
188
|
-
value: void 0
|
|
189
|
-
});
|
|
50
|
+
this.$filterType = 0;
|
|
190
51
|
// default
|
|
191
52
|
this._$distance = 4;
|
|
192
53
|
this._$angle = 45;
|
package/src/BitmapFilter.js
CHANGED
|
@@ -19,34 +19,6 @@ export class BitmapFilter {
|
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
21
|
constructor() {
|
|
22
|
-
/**
|
|
23
|
-
* @description フィルターが更新されたかどうかを示します。
|
|
24
|
-
* Indicates whether the filter is updated.
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @default true
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
30
|
-
Object.defineProperty(this, "$updated", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true,
|
|
33
|
-
writable: true,
|
|
34
|
-
value: void 0
|
|
35
|
-
});
|
|
36
|
-
/**
|
|
37
|
-
* @description toNumberArray() の結果のキャッシュ。$updated が true になったら無効化される。
|
|
38
|
-
* Cache of the toNumberArray() result. Invalidated when $updated is set to true.
|
|
39
|
-
*
|
|
40
|
-
* @type {Float32Array | null}
|
|
41
|
-
* @default null
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
Object.defineProperty(this, "$buffer", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true,
|
|
48
|
-
value: void 0
|
|
49
|
-
});
|
|
50
22
|
this.$updated = true;
|
|
51
23
|
this.$buffer = null;
|
|
52
24
|
}
|
package/src/BlurFilter.js
CHANGED
|
@@ -40,54 +40,7 @@ export class BlurFilter extends BitmapFilter {
|
|
|
40
40
|
* @member {number}
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true,
|
|
46
|
-
writable: true,
|
|
47
|
-
value: 1
|
|
48
|
-
});
|
|
49
|
-
/**
|
|
50
|
-
* @description 水平方向のぼかし量。
|
|
51
|
-
* The amount of horizontal blur.
|
|
52
|
-
*
|
|
53
|
-
* @member {number}
|
|
54
|
-
* @default 4
|
|
55
|
-
* @private
|
|
56
|
-
*/
|
|
57
|
-
Object.defineProperty(this, "_$blurX", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
configurable: true,
|
|
60
|
-
writable: true,
|
|
61
|
-
value: void 0
|
|
62
|
-
});
|
|
63
|
-
/**
|
|
64
|
-
* @description 垂直方向のぼかし量。
|
|
65
|
-
* The amount of vertical blur.
|
|
66
|
-
*
|
|
67
|
-
* @member {number}
|
|
68
|
-
* @default 4
|
|
69
|
-
* @private
|
|
70
|
-
*/
|
|
71
|
-
Object.defineProperty(this, "_$blurY", {
|
|
72
|
-
enumerable: true,
|
|
73
|
-
configurable: true,
|
|
74
|
-
writable: true,
|
|
75
|
-
value: void 0
|
|
76
|
-
});
|
|
77
|
-
/**
|
|
78
|
-
* @description ぼかしの実行回数です。
|
|
79
|
-
* The number of times to perform the blur.
|
|
80
|
-
*
|
|
81
|
-
* @member {number}
|
|
82
|
-
* @default 1
|
|
83
|
-
* @private
|
|
84
|
-
*/
|
|
85
|
-
Object.defineProperty(this, "_$quality", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
configurable: true,
|
|
88
|
-
writable: true,
|
|
89
|
-
value: void 0
|
|
90
|
-
});
|
|
43
|
+
this.$filterType = 1;
|
|
91
44
|
// default
|
|
92
45
|
this._$blurX = 4;
|
|
93
46
|
this._$blurY = 4;
|
package/src/ColorMatrixFilter.js
CHANGED
|
@@ -35,22 +35,7 @@ export class ColorMatrixFilter extends BitmapFilter {
|
|
|
35
35
|
* @member {number}
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
|
-
|
|
39
|
-
enumerable: true,
|
|
40
|
-
configurable: true,
|
|
41
|
-
writable: true,
|
|
42
|
-
value: 2
|
|
43
|
-
});
|
|
44
|
-
/**
|
|
45
|
-
* @type {array}
|
|
46
|
-
* @private
|
|
47
|
-
*/
|
|
48
|
-
Object.defineProperty(this, "_$matrix", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
configurable: true,
|
|
51
|
-
writable: true,
|
|
52
|
-
value: void 0
|
|
53
|
-
});
|
|
38
|
+
this.$filterType = 2;
|
|
54
39
|
// default
|
|
55
40
|
this._$matrix = [
|
|
56
41
|
1, 0, 0, 0, 0,
|
package/src/ConvolutionFilter.js
CHANGED
|
@@ -41,111 +41,7 @@ export class ConvolutionFilter extends BitmapFilter {
|
|
|
41
41
|
* @member {number}
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true,
|
|
48
|
-
value: 3
|
|
49
|
-
});
|
|
50
|
-
/**
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @default 0
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
Object.defineProperty(this, "_$matrixX", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
configurable: true,
|
|
58
|
-
writable: true,
|
|
59
|
-
value: void 0
|
|
60
|
-
});
|
|
61
|
-
/**
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @default 0
|
|
64
|
-
* @private
|
|
65
|
-
*/
|
|
66
|
-
Object.defineProperty(this, "_$matrixY", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true,
|
|
70
|
-
value: void 0
|
|
71
|
-
});
|
|
72
|
-
/**
|
|
73
|
-
* @type {array}
|
|
74
|
-
* @default null
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
Object.defineProperty(this, "_$matrix", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
configurable: true,
|
|
80
|
-
writable: true,
|
|
81
|
-
value: void 0
|
|
82
|
-
});
|
|
83
|
-
/**
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @default 1
|
|
86
|
-
* @private
|
|
87
|
-
*/
|
|
88
|
-
Object.defineProperty(this, "_$divisor", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
configurable: true,
|
|
91
|
-
writable: true,
|
|
92
|
-
value: void 0
|
|
93
|
-
});
|
|
94
|
-
/**
|
|
95
|
-
* @type {number}
|
|
96
|
-
* @default 0
|
|
97
|
-
* @private
|
|
98
|
-
*/
|
|
99
|
-
Object.defineProperty(this, "_$bias", {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
configurable: true,
|
|
102
|
-
writable: true,
|
|
103
|
-
value: void 0
|
|
104
|
-
});
|
|
105
|
-
/**
|
|
106
|
-
* @type {boolean}
|
|
107
|
-
* @default true
|
|
108
|
-
* @private
|
|
109
|
-
*/
|
|
110
|
-
Object.defineProperty(this, "_$preserveAlpha", {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
configurable: true,
|
|
113
|
-
writable: true,
|
|
114
|
-
value: void 0
|
|
115
|
-
});
|
|
116
|
-
/**
|
|
117
|
-
* @type {boolean}
|
|
118
|
-
* @default true
|
|
119
|
-
* @private
|
|
120
|
-
*/
|
|
121
|
-
Object.defineProperty(this, "_$clamp", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
configurable: true,
|
|
124
|
-
writable: true,
|
|
125
|
-
value: void 0
|
|
126
|
-
});
|
|
127
|
-
/**
|
|
128
|
-
* @type {number}
|
|
129
|
-
* @default 0
|
|
130
|
-
* @private
|
|
131
|
-
*/
|
|
132
|
-
Object.defineProperty(this, "_$color", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
configurable: true,
|
|
135
|
-
writable: true,
|
|
136
|
-
value: void 0
|
|
137
|
-
});
|
|
138
|
-
/**
|
|
139
|
-
* @type {number}
|
|
140
|
-
* @default 0
|
|
141
|
-
* @private
|
|
142
|
-
*/
|
|
143
|
-
Object.defineProperty(this, "_$alpha", {
|
|
144
|
-
enumerable: true,
|
|
145
|
-
configurable: true,
|
|
146
|
-
writable: true,
|
|
147
|
-
value: void 0
|
|
148
|
-
});
|
|
44
|
+
this.$filterType = 3;
|
|
149
45
|
// default
|
|
150
46
|
this._$matrixX = 0;
|
|
151
47
|
this._$matrixY = 0;
|
|
@@ -41,144 +41,7 @@ export class DisplacementMapFilter extends BitmapFilter {
|
|
|
41
41
|
* @member {number}
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true,
|
|
48
|
-
value: 4
|
|
49
|
-
});
|
|
50
|
-
/**
|
|
51
|
-
* @type {Uint8Array}
|
|
52
|
-
* @default null
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
Object.defineProperty(this, "_$bitmapBuffer", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
configurable: true,
|
|
58
|
-
writable: true,
|
|
59
|
-
value: void 0
|
|
60
|
-
});
|
|
61
|
-
/**
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @default 0
|
|
64
|
-
* @private
|
|
65
|
-
*/
|
|
66
|
-
Object.defineProperty(this, "_$bitmapWidth", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true,
|
|
70
|
-
value: void 0
|
|
71
|
-
});
|
|
72
|
-
/**
|
|
73
|
-
* @type {number}
|
|
74
|
-
* @default 0
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
Object.defineProperty(this, "_$bitmapHeight", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
configurable: true,
|
|
80
|
-
writable: true,
|
|
81
|
-
value: void 0
|
|
82
|
-
});
|
|
83
|
-
/**
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @default 0
|
|
86
|
-
* @private
|
|
87
|
-
*/
|
|
88
|
-
Object.defineProperty(this, "_$mapPointX", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
configurable: true,
|
|
91
|
-
writable: true,
|
|
92
|
-
value: void 0
|
|
93
|
-
});
|
|
94
|
-
/**
|
|
95
|
-
* @type {number}
|
|
96
|
-
* @default 0
|
|
97
|
-
* @private
|
|
98
|
-
*/
|
|
99
|
-
Object.defineProperty(this, "_$mapPointY", {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
configurable: true,
|
|
102
|
-
writable: true,
|
|
103
|
-
value: void 0
|
|
104
|
-
});
|
|
105
|
-
/**
|
|
106
|
-
* @type {number}
|
|
107
|
-
* @default 0
|
|
108
|
-
* @private
|
|
109
|
-
*/
|
|
110
|
-
Object.defineProperty(this, "_$componentX", {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
configurable: true,
|
|
113
|
-
writable: true,
|
|
114
|
-
value: void 0
|
|
115
|
-
});
|
|
116
|
-
/**
|
|
117
|
-
* @type {number}
|
|
118
|
-
* @default 0
|
|
119
|
-
* @private
|
|
120
|
-
*/
|
|
121
|
-
Object.defineProperty(this, "_$componentY", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
configurable: true,
|
|
124
|
-
writable: true,
|
|
125
|
-
value: void 0
|
|
126
|
-
});
|
|
127
|
-
/**
|
|
128
|
-
* @type {number}
|
|
129
|
-
* @default 0
|
|
130
|
-
* @private
|
|
131
|
-
*/
|
|
132
|
-
Object.defineProperty(this, "_$scaleX", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
configurable: true,
|
|
135
|
-
writable: true,
|
|
136
|
-
value: void 0
|
|
137
|
-
});
|
|
138
|
-
/**
|
|
139
|
-
* @type {number}
|
|
140
|
-
* @default 0
|
|
141
|
-
* @private
|
|
142
|
-
*/
|
|
143
|
-
Object.defineProperty(this, "_$scaleY", {
|
|
144
|
-
enumerable: true,
|
|
145
|
-
configurable: true,
|
|
146
|
-
writable: true,
|
|
147
|
-
value: void 0
|
|
148
|
-
});
|
|
149
|
-
/**
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @default "wrap"
|
|
152
|
-
* @private
|
|
153
|
-
*/
|
|
154
|
-
Object.defineProperty(this, "_$mode", {
|
|
155
|
-
enumerable: true,
|
|
156
|
-
configurable: true,
|
|
157
|
-
writable: true,
|
|
158
|
-
value: void 0
|
|
159
|
-
});
|
|
160
|
-
/**
|
|
161
|
-
* @type {number}
|
|
162
|
-
* @default 0
|
|
163
|
-
* @private
|
|
164
|
-
*/
|
|
165
|
-
Object.defineProperty(this, "_$color", {
|
|
166
|
-
enumerable: true,
|
|
167
|
-
configurable: true,
|
|
168
|
-
writable: true,
|
|
169
|
-
value: void 0
|
|
170
|
-
});
|
|
171
|
-
/**
|
|
172
|
-
* @type {number}
|
|
173
|
-
* @default 0
|
|
174
|
-
* @private
|
|
175
|
-
*/
|
|
176
|
-
Object.defineProperty(this, "_$alpha", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
configurable: true,
|
|
179
|
-
writable: true,
|
|
180
|
-
value: void 0
|
|
181
|
-
});
|
|
44
|
+
this.$filterType = 4;
|
|
182
45
|
// default
|
|
183
46
|
this._$bitmapBuffer = null;
|
|
184
47
|
this._$bitmapWidth = 0;
|
package/src/DropShadowFilter.js
CHANGED
|
@@ -44,133 +44,7 @@ export class DropShadowFilter extends BitmapFilter {
|
|
|
44
44
|
* @member {number}
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
|
|
48
|
-
enumerable: true,
|
|
49
|
-
configurable: true,
|
|
50
|
-
writable: true,
|
|
51
|
-
value: 5
|
|
52
|
-
});
|
|
53
|
-
/**
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @default 4
|
|
56
|
-
* @private
|
|
57
|
-
*/
|
|
58
|
-
Object.defineProperty(this, "_$blurX", {
|
|
59
|
-
enumerable: true,
|
|
60
|
-
configurable: true,
|
|
61
|
-
writable: true,
|
|
62
|
-
value: void 0
|
|
63
|
-
});
|
|
64
|
-
/**
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @default 4
|
|
67
|
-
* @private
|
|
68
|
-
*/
|
|
69
|
-
Object.defineProperty(this, "_$blurY", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
configurable: true,
|
|
72
|
-
writable: true,
|
|
73
|
-
value: void 0
|
|
74
|
-
});
|
|
75
|
-
/**
|
|
76
|
-
* @type {IFilterQuality}
|
|
77
|
-
* @default 1
|
|
78
|
-
* @private
|
|
79
|
-
*/
|
|
80
|
-
Object.defineProperty(this, "_$quality", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
configurable: true,
|
|
83
|
-
writable: true,
|
|
84
|
-
value: void 0
|
|
85
|
-
});
|
|
86
|
-
/**
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @default 4
|
|
89
|
-
* @private
|
|
90
|
-
*/
|
|
91
|
-
Object.defineProperty(this, "_$distance", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
configurable: true,
|
|
94
|
-
writable: true,
|
|
95
|
-
value: void 0
|
|
96
|
-
});
|
|
97
|
-
/**
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @default 45
|
|
100
|
-
* @private
|
|
101
|
-
*/
|
|
102
|
-
Object.defineProperty(this, "_$angle", {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
configurable: true,
|
|
105
|
-
writable: true,
|
|
106
|
-
value: void 0
|
|
107
|
-
});
|
|
108
|
-
/**
|
|
109
|
-
* @type {number}
|
|
110
|
-
* @default 0
|
|
111
|
-
* @private
|
|
112
|
-
*/
|
|
113
|
-
Object.defineProperty(this, "_$color", {
|
|
114
|
-
enumerable: true,
|
|
115
|
-
configurable: true,
|
|
116
|
-
writable: true,
|
|
117
|
-
value: void 0
|
|
118
|
-
});
|
|
119
|
-
/**
|
|
120
|
-
* @type {number}
|
|
121
|
-
* @default 1
|
|
122
|
-
* @private
|
|
123
|
-
*/
|
|
124
|
-
Object.defineProperty(this, "_$alpha", {
|
|
125
|
-
enumerable: true,
|
|
126
|
-
configurable: true,
|
|
127
|
-
writable: true,
|
|
128
|
-
value: void 0
|
|
129
|
-
});
|
|
130
|
-
/**
|
|
131
|
-
* @type {number}
|
|
132
|
-
* @default 1
|
|
133
|
-
* @private
|
|
134
|
-
*/
|
|
135
|
-
Object.defineProperty(this, "_$strength", {
|
|
136
|
-
enumerable: true,
|
|
137
|
-
configurable: true,
|
|
138
|
-
writable: true,
|
|
139
|
-
value: void 0
|
|
140
|
-
});
|
|
141
|
-
/**
|
|
142
|
-
* @type {boolean}
|
|
143
|
-
* @default false
|
|
144
|
-
* @private
|
|
145
|
-
*/
|
|
146
|
-
Object.defineProperty(this, "_$inner", {
|
|
147
|
-
enumerable: true,
|
|
148
|
-
configurable: true,
|
|
149
|
-
writable: true,
|
|
150
|
-
value: void 0
|
|
151
|
-
});
|
|
152
|
-
/**
|
|
153
|
-
* @type {boolean}
|
|
154
|
-
* @default false
|
|
155
|
-
* @private
|
|
156
|
-
*/
|
|
157
|
-
Object.defineProperty(this, "_$knockout", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
configurable: true,
|
|
160
|
-
writable: true,
|
|
161
|
-
value: void 0
|
|
162
|
-
});
|
|
163
|
-
/**
|
|
164
|
-
* @type {boolean}
|
|
165
|
-
* @default false
|
|
166
|
-
* @private
|
|
167
|
-
*/
|
|
168
|
-
Object.defineProperty(this, "_$hideObject", {
|
|
169
|
-
enumerable: true,
|
|
170
|
-
configurable: true,
|
|
171
|
-
writable: true,
|
|
172
|
-
value: void 0
|
|
173
|
-
});
|
|
47
|
+
this.$filterType = 5;
|
|
174
48
|
// default
|
|
175
49
|
this._$blurX = 4;
|
|
176
50
|
this._$blurY = 4;
|
package/src/GlowFilter.js
CHANGED
|
@@ -41,100 +41,7 @@ export class GlowFilter extends BitmapFilter {
|
|
|
41
41
|
* @member {number}
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
writable: true,
|
|
48
|
-
value: 6
|
|
49
|
-
});
|
|
50
|
-
/**
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @default 4
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
Object.defineProperty(this, "_$blurX", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
configurable: true,
|
|
58
|
-
writable: true,
|
|
59
|
-
value: void 0
|
|
60
|
-
});
|
|
61
|
-
/**
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @default 4
|
|
64
|
-
* @private
|
|
65
|
-
*/
|
|
66
|
-
Object.defineProperty(this, "_$blurY", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true,
|
|
70
|
-
value: void 0
|
|
71
|
-
});
|
|
72
|
-
/**
|
|
73
|
-
* @type {IFilterQuality}
|
|
74
|
-
* @default 1
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
Object.defineProperty(this, "_$quality", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
configurable: true,
|
|
80
|
-
writable: true,
|
|
81
|
-
value: void 0
|
|
82
|
-
});
|
|
83
|
-
/**
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @default 0
|
|
86
|
-
* @private
|
|
87
|
-
*/
|
|
88
|
-
Object.defineProperty(this, "_$color", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
configurable: true,
|
|
91
|
-
writable: true,
|
|
92
|
-
value: void 0
|
|
93
|
-
});
|
|
94
|
-
/**
|
|
95
|
-
* @type {number}
|
|
96
|
-
* @default 1
|
|
97
|
-
* @private
|
|
98
|
-
*/
|
|
99
|
-
Object.defineProperty(this, "_$alpha", {
|
|
100
|
-
enumerable: true,
|
|
101
|
-
configurable: true,
|
|
102
|
-
writable: true,
|
|
103
|
-
value: void 0
|
|
104
|
-
});
|
|
105
|
-
/**
|
|
106
|
-
* @type {number}
|
|
107
|
-
* @default 1
|
|
108
|
-
* @private
|
|
109
|
-
*/
|
|
110
|
-
Object.defineProperty(this, "_$strength", {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
configurable: true,
|
|
113
|
-
writable: true,
|
|
114
|
-
value: void 0
|
|
115
|
-
});
|
|
116
|
-
/**
|
|
117
|
-
* @type {boolean}
|
|
118
|
-
* @default false
|
|
119
|
-
* @private
|
|
120
|
-
*/
|
|
121
|
-
Object.defineProperty(this, "_$inner", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
configurable: true,
|
|
124
|
-
writable: true,
|
|
125
|
-
value: void 0
|
|
126
|
-
});
|
|
127
|
-
/**
|
|
128
|
-
* @type {boolean}
|
|
129
|
-
* @default false
|
|
130
|
-
* @private
|
|
131
|
-
*/
|
|
132
|
-
Object.defineProperty(this, "_$knockout", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
configurable: true,
|
|
135
|
-
writable: true,
|
|
136
|
-
value: void 0
|
|
137
|
-
});
|
|
44
|
+
this.$filterType = 6;
|
|
138
45
|
// default
|
|
139
46
|
this._$blurX = 4;
|
|
140
47
|
this._$blurY = 4;
|
|
@@ -44,133 +44,7 @@ export class GradientBevelFilter extends BitmapFilter {
|
|
|
44
44
|
* @member {number}
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
|
|
48
|
-
enumerable: true,
|
|
49
|
-
configurable: true,
|
|
50
|
-
writable: true,
|
|
51
|
-
value: 7
|
|
52
|
-
});
|
|
53
|
-
/**
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @default 4
|
|
56
|
-
* @private
|
|
57
|
-
*/
|
|
58
|
-
Object.defineProperty(this, "_$blurX", {
|
|
59
|
-
enumerable: true,
|
|
60
|
-
configurable: true,
|
|
61
|
-
writable: true,
|
|
62
|
-
value: void 0
|
|
63
|
-
});
|
|
64
|
-
/**
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @default 4
|
|
67
|
-
* @private
|
|
68
|
-
*/
|
|
69
|
-
Object.defineProperty(this, "_$blurY", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
configurable: true,
|
|
72
|
-
writable: true,
|
|
73
|
-
value: void 0
|
|
74
|
-
});
|
|
75
|
-
/**
|
|
76
|
-
* @type {IFilterQuality}
|
|
77
|
-
* @default 1
|
|
78
|
-
* @private
|
|
79
|
-
*/
|
|
80
|
-
Object.defineProperty(this, "_$quality", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
configurable: true,
|
|
83
|
-
writable: true,
|
|
84
|
-
value: void 0
|
|
85
|
-
});
|
|
86
|
-
/**
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @default 4
|
|
89
|
-
* @private
|
|
90
|
-
*/
|
|
91
|
-
Object.defineProperty(this, "_$distance", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
configurable: true,
|
|
94
|
-
writable: true,
|
|
95
|
-
value: void 0
|
|
96
|
-
});
|
|
97
|
-
/**
|
|
98
|
-
* @type {number}
|
|
99
|
-
* @default 45
|
|
100
|
-
* @private
|
|
101
|
-
*/
|
|
102
|
-
Object.defineProperty(this, "_$angle", {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
configurable: true,
|
|
105
|
-
writable: true,
|
|
106
|
-
value: void 0
|
|
107
|
-
});
|
|
108
|
-
/**
|
|
109
|
-
* @type {array}
|
|
110
|
-
* @default null
|
|
111
|
-
* @private
|
|
112
|
-
*/
|
|
113
|
-
Object.defineProperty(this, "_$colors", {
|
|
114
|
-
enumerable: true,
|
|
115
|
-
configurable: true,
|
|
116
|
-
writable: true,
|
|
117
|
-
value: void 0
|
|
118
|
-
});
|
|
119
|
-
/**
|
|
120
|
-
* @type {array}
|
|
121
|
-
* @default null
|
|
122
|
-
* @private
|
|
123
|
-
*/
|
|
124
|
-
Object.defineProperty(this, "_$alphas", {
|
|
125
|
-
enumerable: true,
|
|
126
|
-
configurable: true,
|
|
127
|
-
writable: true,
|
|
128
|
-
value: void 0
|
|
129
|
-
});
|
|
130
|
-
/**
|
|
131
|
-
* @type {array}
|
|
132
|
-
* @default null
|
|
133
|
-
* @private
|
|
134
|
-
*/
|
|
135
|
-
Object.defineProperty(this, "_$ratios", {
|
|
136
|
-
enumerable: true,
|
|
137
|
-
configurable: true,
|
|
138
|
-
writable: true,
|
|
139
|
-
value: void 0
|
|
140
|
-
});
|
|
141
|
-
/**
|
|
142
|
-
* @type {number}
|
|
143
|
-
* @default 1
|
|
144
|
-
* @private
|
|
145
|
-
*/
|
|
146
|
-
Object.defineProperty(this, "_$strength", {
|
|
147
|
-
enumerable: true,
|
|
148
|
-
configurable: true,
|
|
149
|
-
writable: true,
|
|
150
|
-
value: void 0
|
|
151
|
-
});
|
|
152
|
-
/**
|
|
153
|
-
* @type {string}
|
|
154
|
-
* @default "inner"
|
|
155
|
-
* @private
|
|
156
|
-
*/
|
|
157
|
-
Object.defineProperty(this, "_$type", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
configurable: true,
|
|
160
|
-
writable: true,
|
|
161
|
-
value: void 0
|
|
162
|
-
});
|
|
163
|
-
/**
|
|
164
|
-
* @type {boolean}
|
|
165
|
-
* @default false
|
|
166
|
-
* @private
|
|
167
|
-
*/
|
|
168
|
-
Object.defineProperty(this, "_$knockout", {
|
|
169
|
-
enumerable: true,
|
|
170
|
-
configurable: true,
|
|
171
|
-
writable: true,
|
|
172
|
-
value: void 0
|
|
173
|
-
});
|
|
47
|
+
this.$filterType = 7;
|
|
174
48
|
// default
|
|
175
49
|
this._$blurX = 4;
|
|
176
50
|
this._$blurY = 4;
|
|
@@ -43,133 +43,7 @@ export class GradientGlowFilter extends BitmapFilter {
|
|
|
43
43
|
* @member {number}
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
|
-
|
|
47
|
-
enumerable: true,
|
|
48
|
-
configurable: true,
|
|
49
|
-
writable: true,
|
|
50
|
-
value: 8
|
|
51
|
-
});
|
|
52
|
-
/**
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @default 4
|
|
55
|
-
* @private
|
|
56
|
-
*/
|
|
57
|
-
Object.defineProperty(this, "_$blurX", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
configurable: true,
|
|
60
|
-
writable: true,
|
|
61
|
-
value: void 0
|
|
62
|
-
});
|
|
63
|
-
/**
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @default 4
|
|
66
|
-
* @private
|
|
67
|
-
*/
|
|
68
|
-
Object.defineProperty(this, "_$blurY", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
configurable: true,
|
|
71
|
-
writable: true,
|
|
72
|
-
value: void 0
|
|
73
|
-
});
|
|
74
|
-
/**
|
|
75
|
-
* @type {IFilterQuality}
|
|
76
|
-
* @default 1
|
|
77
|
-
* @private
|
|
78
|
-
*/
|
|
79
|
-
Object.defineProperty(this, "_$quality", {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
configurable: true,
|
|
82
|
-
writable: true,
|
|
83
|
-
value: void 0
|
|
84
|
-
});
|
|
85
|
-
/**
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @default 4
|
|
88
|
-
* @private
|
|
89
|
-
*/
|
|
90
|
-
Object.defineProperty(this, "_$distance", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
configurable: true,
|
|
93
|
-
writable: true,
|
|
94
|
-
value: void 0
|
|
95
|
-
});
|
|
96
|
-
/**
|
|
97
|
-
* @type {number}
|
|
98
|
-
* @default 45
|
|
99
|
-
* @private
|
|
100
|
-
*/
|
|
101
|
-
Object.defineProperty(this, "_$angle", {
|
|
102
|
-
enumerable: true,
|
|
103
|
-
configurable: true,
|
|
104
|
-
writable: true,
|
|
105
|
-
value: void 0
|
|
106
|
-
});
|
|
107
|
-
/**
|
|
108
|
-
* @type {array}
|
|
109
|
-
* @default null
|
|
110
|
-
* @private
|
|
111
|
-
*/
|
|
112
|
-
Object.defineProperty(this, "_$colors", {
|
|
113
|
-
enumerable: true,
|
|
114
|
-
configurable: true,
|
|
115
|
-
writable: true,
|
|
116
|
-
value: void 0
|
|
117
|
-
});
|
|
118
|
-
/**
|
|
119
|
-
* @type {array}
|
|
120
|
-
* @default null
|
|
121
|
-
* @private
|
|
122
|
-
*/
|
|
123
|
-
Object.defineProperty(this, "_$alphas", {
|
|
124
|
-
enumerable: true,
|
|
125
|
-
configurable: true,
|
|
126
|
-
writable: true,
|
|
127
|
-
value: void 0
|
|
128
|
-
});
|
|
129
|
-
/**
|
|
130
|
-
* @type {array}
|
|
131
|
-
* @default null
|
|
132
|
-
* @private
|
|
133
|
-
*/
|
|
134
|
-
Object.defineProperty(this, "_$ratios", {
|
|
135
|
-
enumerable: true,
|
|
136
|
-
configurable: true,
|
|
137
|
-
writable: true,
|
|
138
|
-
value: void 0
|
|
139
|
-
});
|
|
140
|
-
/**
|
|
141
|
-
* @type {number}
|
|
142
|
-
* @default 1
|
|
143
|
-
* @private
|
|
144
|
-
*/
|
|
145
|
-
Object.defineProperty(this, "_$strength", {
|
|
146
|
-
enumerable: true,
|
|
147
|
-
configurable: true,
|
|
148
|
-
writable: true,
|
|
149
|
-
value: void 0
|
|
150
|
-
});
|
|
151
|
-
/**
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @default "outer"
|
|
154
|
-
* @private
|
|
155
|
-
*/
|
|
156
|
-
Object.defineProperty(this, "_$type", {
|
|
157
|
-
enumerable: true,
|
|
158
|
-
configurable: true,
|
|
159
|
-
writable: true,
|
|
160
|
-
value: void 0
|
|
161
|
-
});
|
|
162
|
-
/**
|
|
163
|
-
* @type {boolean}
|
|
164
|
-
* @default false
|
|
165
|
-
* @private
|
|
166
|
-
*/
|
|
167
|
-
Object.defineProperty(this, "_$knockout", {
|
|
168
|
-
enumerable: true,
|
|
169
|
-
configurable: true,
|
|
170
|
-
writable: true,
|
|
171
|
-
value: void 0
|
|
172
|
-
});
|
|
46
|
+
this.$filterType = 8;
|
|
173
47
|
// default
|
|
174
48
|
this._$blurX = 4;
|
|
175
49
|
this._$blurY = 4;
|