Skip to content

CharacterMap

Resolves supported characters to the segment names used by SegmentCell.

a, b, e, f, g1, g2, k

ts
import { CharacterMap } from '@haskou/vfd-console';

const map = new CharacterMap();
const segments = map.get('R');

Use this class when building custom display behavior. Most applications should use SegmentDisplay, which already owns character mapping.