@next2d/geom 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/ColorTransform.js +0 -10
- package/src/Matrix.js +0 -6
- package/src/Point.js +0 -28
- package/src/Rectangle.js +0 -52
package/package.json
CHANGED
package/src/ColorTransform.js
CHANGED
|
@@ -42,16 +42,6 @@ export class ColorTransform {
|
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
44
|
constructor(red_multiplier = 1, green_multiplier = 1, blue_multiplier = 1, alpha_multiplier = 1, red_offset = 0, green_offset = 0, blue_offset = 0, alpha_offset = 0) {
|
|
45
|
-
/**
|
|
46
|
-
* @type {Float32Array}
|
|
47
|
-
* @private
|
|
48
|
-
*/
|
|
49
|
-
Object.defineProperty(this, "_$colorTransform", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
configurable: true,
|
|
52
|
-
writable: true,
|
|
53
|
-
value: void 0
|
|
54
|
-
});
|
|
55
45
|
this._$colorTransform = $getFloat32Array8(red_multiplier, green_multiplier, blue_multiplier, alpha_multiplier, red_offset, green_offset, blue_offset, alpha_offset);
|
|
56
46
|
}
|
|
57
47
|
/**
|
package/src/Matrix.js
CHANGED
|
@@ -40,12 +40,6 @@ export class Matrix {
|
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
42
|
constructor(a = 1, b = 0, c = 0, d = 1, tx = 0, ty = 0) {
|
|
43
|
-
Object.defineProperty(this, "_$matrix", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true,
|
|
46
|
-
writable: true,
|
|
47
|
-
value: void 0
|
|
48
|
-
});
|
|
49
43
|
/**
|
|
50
44
|
* @type {Float32Array}
|
|
51
45
|
* @private
|
package/src/Point.js
CHANGED
|
@@ -26,34 +26,6 @@ export class Point {
|
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
28
|
constructor(x = 0, y = 0) {
|
|
29
|
-
/**
|
|
30
|
-
* @description ポイントの水平座標です。
|
|
31
|
-
* The horizontal coordinate of the point.
|
|
32
|
-
*
|
|
33
|
-
* @member {number}
|
|
34
|
-
* @default 0
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
Object.defineProperty(this, "x", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true,
|
|
40
|
-
writable: true,
|
|
41
|
-
value: void 0
|
|
42
|
-
});
|
|
43
|
-
/**
|
|
44
|
-
* @description ポイントの垂直座標です。
|
|
45
|
-
* The vertical coordinate of the point.
|
|
46
|
-
*
|
|
47
|
-
* @member {number}
|
|
48
|
-
* @default 0
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
Object.defineProperty(this, "y", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
configurable: true,
|
|
54
|
-
writable: true,
|
|
55
|
-
value: void 0
|
|
56
|
-
});
|
|
57
29
|
this.x = x;
|
|
58
30
|
this.y = y;
|
|
59
31
|
}
|
package/src/Rectangle.js
CHANGED
|
@@ -45,58 +45,6 @@ export class Rectangle {
|
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
47
|
constructor(x = 0, y = 0, width = 0, height = 0) {
|
|
48
|
-
/**
|
|
49
|
-
* @description 矩形の左上隅の x 座標です。
|
|
50
|
-
* The x coordinate of the top-left corner of the rectangle.
|
|
51
|
-
*
|
|
52
|
-
* @member {number}
|
|
53
|
-
* @public
|
|
54
|
-
*/
|
|
55
|
-
Object.defineProperty(this, "x", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
configurable: true,
|
|
58
|
-
writable: true,
|
|
59
|
-
value: void 0
|
|
60
|
-
});
|
|
61
|
-
/**
|
|
62
|
-
* @description 矩形の左上隅の y 座標です。
|
|
63
|
-
* The y coordinate of the top-left corner of the rectangle.
|
|
64
|
-
*
|
|
65
|
-
* @member {number}
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
Object.defineProperty(this, "y", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
configurable: true,
|
|
71
|
-
writable: true,
|
|
72
|
-
value: void 0
|
|
73
|
-
});
|
|
74
|
-
/**
|
|
75
|
-
* @description 矩形の幅(ピクセル単位)です。
|
|
76
|
-
* The width of the rectangle, in pixels.
|
|
77
|
-
*
|
|
78
|
-
* @member {number}
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
Object.defineProperty(this, "width", {
|
|
82
|
-
enumerable: true,
|
|
83
|
-
configurable: true,
|
|
84
|
-
writable: true,
|
|
85
|
-
value: void 0
|
|
86
|
-
});
|
|
87
|
-
/**
|
|
88
|
-
* @description 矩形の高さ(ピクセル単位)です。
|
|
89
|
-
* The height of the rectangle, in pixels.
|
|
90
|
-
*
|
|
91
|
-
* @member {number}
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
Object.defineProperty(this, "height", {
|
|
95
|
-
enumerable: true,
|
|
96
|
-
configurable: true,
|
|
97
|
-
writable: true,
|
|
98
|
-
value: void 0
|
|
99
|
-
});
|
|
100
48
|
this.x = x;
|
|
101
49
|
this.y = y;
|
|
102
50
|
this.width = width;
|