EASYAIuniappNewUI/node_modules/licia/Color.d.ts
2025-02-08 18:50:38 +08:00

16 lines
304 B
TypeScript

declare namespace Color {
interface IColor {
val: number[];
model: string;
}
}
declare class Color {
constructor(color: string | Color.IColor);
toRgb(): string;
toHex(): string;
toHsl(): string;
static parse(colorStr: string): Color.IColor;
}
export = Color;