Skip to content

textmode.js / Textmodifier / createGlyphRamp

Method: createGlyphRamp() ​

ts
createGlyphRamp(characters): TextmodeGlyphRamp;

Create a reusable glyph ramp from a character sequence.

Parameters ​

ParameterTypeDescription
charactersstringCharacter sequence ordered from low to high.

Returns ​

TextmodeGlyphRamp

A TextmodeGlyphRamp instance.

Example ​