Initial project import
This commit is contained in:
24
node_modules/@react-three/drei/core/useFont.d.ts
generated
vendored
Normal file
24
node_modules/@react-three/drei/core/useFont.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
export type Glyph = {
|
||||
_cachedOutline: string[];
|
||||
ha: number;
|
||||
o: string;
|
||||
};
|
||||
export type FontData = {
|
||||
boundingBox: {
|
||||
yMax: number;
|
||||
yMin: number;
|
||||
};
|
||||
familyName: string;
|
||||
glyphs: {
|
||||
[k: string]: Glyph;
|
||||
};
|
||||
resolution: number;
|
||||
underlineThickness: number;
|
||||
};
|
||||
type FontInput = string | FontData;
|
||||
export declare function useFont(font: FontInput): import("three-stdlib").Font;
|
||||
export declare namespace useFont {
|
||||
var preload: (font: FontInput) => undefined;
|
||||
var clear: (font: FontInput) => void;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user