webdaw-modules
Version:
a set of modules for building a web-based DAW
8 lines (7 loc) • 351 B
TypeScript
export declare const getRandomColor: (alpha?: number) => string;
export declare const domToSvg: (svg: any, point: any) => {
x: any;
y: any;
};
export declare const setAttibuteSVGElement: (elem: SVGElement, type: string, attribute: string, value: string) => void;
export declare const match: (a: number, b: number, margin?: number) => boolean;