discord-card-canvas
Version:
👾 Simple creating cards using canvas. Welcome, Rank, Info and so on.
13 lines (12 loc) • 332 B
TypeScript
export declare function loadFont(fontPath: string, fontFace: {
family: string;
weight?: string;
style?: string;
}): void;
export type FontDescriptor = {
path: string;
family: string;
weight?: string;
style?: string;
};
export declare function loadFonts(fonts: FontDescriptor[], basePath?: string): void;