LogoPixi’VN
pixi-jsClasses

Class: BatchableText

Defined in: node_modules/pixi.js/lib/scene/text/canvas/BatchableText.d.ts:3

Internal

Extends

Constructors

Constructor

> new BatchableText(): BatchableText

Returns

BatchableText

Inherited from

BatchableSprite.constructor

Properties

attributeSize

> readonly attributeSize: 4 = 4

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:16

The size of the attribute data for this quad element.

Inherited from

BatchableSprite.attributeSize


batcherName

> batcherName: string

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:14

The name of the batcher to use. Must be registered.

Inherited from

BatchableSprite.batcherName


bounds

> bounds: BoundsData

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:22

The bounds data for this quad element.

Inherited from

BatchableSprite.bounds


currentKey

> currentKey: string

Defined in: node_modules/pixi.js/lib/scene/text/canvas/BatchableText.d.ts:4


indexSize

> readonly indexSize: 6 = 6

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:17

The size of the index data for this quad element.

Inherited from

BatchableSprite.indexSize


packAsQuad

> readonly packAsQuad: true = true

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:18

Indicates that this element should be packed as a quad.

Inherited from

BatchableSprite.packAsQuad


renderable

> renderable: Container

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:20

Inherited from

BatchableSprite.renderable


roundPixels

> roundPixels: 0 | 1

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:23

Determines whether the element should be rounded to the nearest pixel.

  • 0: No rounding (default)
  • 1: Round to nearest pixel This can help with visual consistency, especially for pixel art styles.

Inherited from

BatchableSprite.roundPixels


texture

> texture: Texture

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:21

The texture to be used for rendering.

Inherited from

BatchableSprite.texture


topology

> topology: Topology

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:15

The topology to be used for rendering.

Inherited from

BatchableSprite.topology


transform

> transform: Matrix

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:19

The transform matrix of the element. This matrix represents the position, scale, rotation, and skew of the element.

Inherited from

BatchableSprite.transform

Accessors

blendMode

Get Signature

> get blendMode(): BLEND_MODES

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:29

The blend mode to be applied.

Returns

BLEND_MODES

The blend mode to be applied.

Inherited from

BatchableSprite.blendMode


color

Get Signature

> get color(): number

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:30

The color of the element that will be multiplied with the texture color. This is typically represented as a 32-bit integer in RGBA format.

Returns

number

The color of the element that will be multiplied with the texture color. This is typically represented as a 32-bit integer in RGBA format.

Inherited from

BatchableSprite.color

Methods

destroy()

> destroy(): void

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:32

Returns

void

Inherited from

BatchableSprite.destroy


reset()

> reset(): void

Defined in: node_modules/pixi.js/lib/scene/sprite/BatchableSprite.d.ts:31

Returns

void

Inherited from

BatchableSprite.reset