UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

12 lines (11 loc) 321 B
export interface ContrastArgs { /** * The proportion of the conversion. * A value of `1` leaves the input unchanged. * A value of `0` will create an image that is completely black. * * Default `1`. */ amount?: number; } export declare function contrast(args?: ContrastArgs): string;