view 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
line wrap: on
line source

type ColorFormat = "hex" | "rgb" | "hsl" | "hsv";
interface Color {
  clone(): this;
  toString(format?: ColorFormat): string;
  toJSON(): string;
  value(): number;
  value(v: number): this;
  hex(): string;
}

declare function color(value: any): Color;

export = color;