@woosh/meep-engine 2.117.29 → 2.117.30
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/core/color/Color.d.ts +18 -6
package/package.json
CHANGED
|
@@ -15,12 +15,6 @@ export class Color {
|
|
|
15
15
|
|
|
16
16
|
readonly onChanged: Signal<number, number, number, number, number, number>
|
|
17
17
|
|
|
18
|
-
static parse(value: string): Color
|
|
19
|
-
|
|
20
|
-
static fromHSV(h: number, s: number, v: number): Color
|
|
21
|
-
|
|
22
|
-
static fromRGB(r: number, g: number, b: number): Color
|
|
23
|
-
|
|
24
18
|
parse(text: string): void
|
|
25
19
|
|
|
26
20
|
set(r: number, g: number, b: number, a: number): void;
|
|
@@ -60,4 +54,22 @@ export class Color {
|
|
|
60
54
|
fromArray(source: ArrayLike<number>, destination_offset?: number): void
|
|
61
55
|
|
|
62
56
|
toArray<T extends ArrayLike<number>>(destination?: T, destination_offset?: number): T
|
|
57
|
+
|
|
58
|
+
//
|
|
59
|
+
|
|
60
|
+
static parse(value: string): Color
|
|
61
|
+
|
|
62
|
+
static fromHSV(h: number, s: number, v: number): Color
|
|
63
|
+
|
|
64
|
+
static fromRGB(r: number, g: number, b: number): Color
|
|
65
|
+
|
|
66
|
+
static readonly red: Color
|
|
67
|
+
static readonly green: Color
|
|
68
|
+
static readonly blue: Color
|
|
69
|
+
static readonly yellow: Color
|
|
70
|
+
static readonly cyan: Color
|
|
71
|
+
static readonly magenta: Color
|
|
72
|
+
static readonly white: Color
|
|
73
|
+
static readonly black: Color
|
|
74
|
+
static readonly transparent: Color
|
|
63
75
|
}
|