Renderer · function

textHeightPx

Explained in Hello world.

function textHeightPx(cellSize: number): number
import { textHeightPx } from '@driftengine/core';

Parameters

ParameterTypeDescription
cellSizenumber