FontFeature.randomize constructor

const FontFeature.randomize()

Randomize the alternate forms used in text.

For example, this can be used with suitably-prepared handwriting fonts to vary the forms used for each character, so that, for instance, the word "cross-section" would be rendered with two different "c"s, two different "o"s, and three different "s"s.

See also:

Implementation

const FontFeature.randomize() : feature = 'rand', value = 1;