Skip to content

textmode.js / Textmodifier / fontSize

Method: fontSize() ​

ts
fontSize(size?): number | void;

Set or get the base layer font size.

Parameters ​

ParameterTypeDescription
size?numberFont size to apply.

Returns ​

number | void

Current font size when called without arguments.

Example ​