annotate web/lib/onecolor.d.ts @ 2458:0e27ba33118c
default tip
better blender<->asco playback cooperation. still no play support in blender; only seek
author |
drewp@bigasterisk.com |
date |
Tue, 20 May 2025 16:25:06 -0700 |
parents |
4556eebe5d73 |
children |
|
rev |
line source |
2241
|
1 type ColorFormat = "hex" | "rgb" | "hsl" | "hsv";
|
|
2 interface Color {
|
|
3 clone(): this;
|
|
4 toString(format?: ColorFormat): string;
|
|
5 toJSON(): string;
|
|
6 value(): number;
|
|
7 value(v: number): this;
|
|
8 hex(): string;
|
|
9 }
|
|
10
|
|
11 declare function color(value: any): Color;
|
|
12
|
|
13 export = color;
|