uni-ticket-system/node_modules/licia/Color.d.ts

16 lines
304 B
TypeScript
Raw Normal View History

2023-12-05 02:11:10 +00:00
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;