UNPKG

satie

Version:

A sheet music renderer for the web

13 lines (12 loc) 657 B
/// <reference types="lodash" /> export declare function requireFont(name: string, url: string, style?: string, full?: boolean): void; export declare function setRoot(root: string): void; export declare function markPreloaded(name: string, style?: string): void; export declare function whenReady(cb: (err?: Error) => void): void; export declare function getTextBB(name: string, text: string, fontSize: number, style?: string): { bottom: number; left: number; right: number; top: number; }; export declare let toPathData: ((name: string, text: string, x: number, y: number, fontSize: number, style?: string) => string) & _.MemoizedFunction;