For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class GlyphManager
Index
Constructors
Properties
Methods
Constructors
constructor
- new GlyphManager(
requestManager: RequestManager,
localIdeographFontFamily?: string | false,
lang?: string,
createRasterizer?: CreateRasterizer,
): GlyphManagerParameters
- requestManager: RequestManager
OptionallocalIdeographFontFamily: string | falseOptionallang: stringOptionalcreateRasterizer: CreateRasterizer
Returns GlyphManager
Properties
createRasterizer
entries
fontFaceManager
Optionallang
lang?: string
localIdeographFontFamily
localIdeographFontFamily: string | false
requestManager
url
url: string
Methods
destroy
Returns void
getGlyphs
Parameters
- glyphs: GlyphRequests
Returns Promise<GlyphMap>
setFontFaces
Parameters
OptionalfontFaces: FontFacesSpecification | null
Returns void
setURL
Parameters
Optionalurl: string | null
Returns void
Replaces the font files the style declares in its
font-facesproperty, dropping every glyph drawn with the previous ones.