Skip to content

PixiKit

Defined in: pixi.ts:27

The PixiJS classes a renderer is handed in create(kit), so it need not import pixi.js at runtime. The same classes the package draws with.

Container: typeof Container

Defined in: pixi.ts:29

PixiJS’s Container: a view’s root, grouping its parts.


Graphics: typeof Graphics

Defined in: pixi.ts:31

PixiJS’s Graphics: shapes drawn in code (circle, roundRect, fill, stroke).


Sprite: typeof Sprite

Defined in: pixi.ts:33

PixiJS’s Sprite: an image, such as the item’s own texture from frame.texture.


Text: typeof Text

Defined in: pixi.ts:35

PixiJS’s Text, for text drawn on the canvas (labels are the package’s already).


Texture: typeof Texture

Defined in: pixi.ts:37

PixiJS’s Texture, for Texture.EMPTY and textures you make.