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

A textured quad for rendering a single icon or glyph.

The zoom range the glyph can be shown is defined by minScale and maxScale.

The offset of the top left corner from the anchor.

The offset of the top right corner from the anchor.

The offset of the bottom left corner from the anchor.

The offset of the bottom right corner from the anchor.

The texture coordinates.

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;
}
Index

Properties

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
Was this helpful?