LogoPixi’VN
pixi-jsInterfaces

Interface: BitmapTextLayoutData

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts:10

Internal

The layout data for a bitmap text. This contains the width, height, scale, offsetY and lines of text. Each line contains its width, character positions, characters, space width and spaces index.

Properties

height

> height: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts:12


lines

> lines: object[]

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts:15

charPositions

> charPositions: number[]

chars

> chars: string[]

spacesIndex

> spacesIndex: number[]

spaceWidth

> spaceWidth: number

width

> width: number


offsetY

> offsetY: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts:14


scale

> scale: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts:13


width

> width: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/utils/getBitmapTextLayout.d.ts:11