@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
18 lines (17 loc) • 401 B
TypeScript
/**
* Font utils for Components.
*
* @internal
* @internal
*/
import type Font from "../../symbols/Font.js";
import type { FontProperties } from "../../symbols/Font.js";
/**
* loads the FontFace associated with a specific
* font family, style, and weight.
*
* @param font
* @internal
* @internal
*/
export function loadFont(font: Pick<Font, "family"> & FontProperties): Promise<FontFace>;