Geometry · function

glyphRows

Rows for one character. Lower case is folded to upper: this is a display face for short shouted strings, and a 5x7 grid has no room for descenders.

Explained in Hello world, Meshes and geometry.

function glyphRows(character: string): readonly number[]
import { glyphRows } from '@driftengine/core';

Parameters

ParameterTypeDescription
characterstring