LogoPixi’VN
pixi-jsFunctions

Function: collapseSpaces()

> collapseSpaces(whiteSpace): boolean

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

Internal

Determines whether we should collapse breaking spaces.

Parameters

whiteSpace

TextStyleWhiteSpace

The TextStyle property whiteSpace

Returns

boolean

Should collapse