Skip to content

textmode.js / Textmodifier / flipX

Method: flipX()

ts
flipX(toggle?): boolean | void;

Toggle horizontal flipping for subsequent characters, or get the current state.

Parameters

ParameterTypeDescription
toggle?booleanWhether to flip horizontally.

Returns

boolean | void

Current flip state when called without arguments.

Example