color-interfaces
Version:
interfaces for color spaces
13 lines (12 loc) • 355 B
TypeScript
import { HexAInterface as HexAInterface_, HEXA } from './ColorInterface';
import Color from './Color';
declare class HexAInterface implements HexAInterface_ {
private color;
constructor(color: Color);
set a(alpha: number);
get a(): number;
set(hexa: HEXA): this;
get(): string;
toCss(): string;
}
export default HexAInterface;