LogoPixi’VN
pixi-jsFunctions

Function: collapseNewlines()

> collapseNewlines(whiteSpace): boolean

Defined in: node_modules/pixi.js/lib/scene/text/canvas/utils/textTokenization.d.ts:103

Internal

Determines whether we should collapse newLine chars.

Parameters

whiteSpace

TextStyleWhiteSpace

The white space

Returns

boolean

should collapse