For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias SymbolQuad
type SymbolQuad = {
bl: Point;
br: Point;
glyphOffset: [number, number];
isSDF: boolean;
minFontScaleX: number;
minFontScaleY: number;
pixelOffsetBR: Point;
pixelOffsetTL: Point;
sectionIndex: number;
tex: { h: number; w: number; x: number; y: number };
tl: Point;
tr: Point;
writingMode: any | void;
}
bl: Point;
br: Point;
glyphOffset: [number, number];
isSDF: boolean;
minFontScaleX: number;
minFontScaleY: number;
pixelOffsetBR: Point;
pixelOffsetTL: Point;
sectionIndex: number;
tex: { h: number; w: number; x: number; y: number };
tl: Point;
tr: Point;
writingMode: any | void;
}
A textured quad for rendering a single icon or glyph.
The zoom range the glyph can be shown is defined by minScale and maxScale.
Param: tl
The offset of the top left corner from the anchor.
Param: tr
The offset of the top right corner from the anchor.
Param: bl
The offset of the bottom left corner from the anchor.
Param: br
The offset of the bottom right corner from the anchor.
Param: tex
The texture coordinates.