Class: SliceSprite

SliceSprite

A sliced sprite with dynamic width and height.

new SliceSprite (Texture, BorderWidth, horizontalSlice, verticalSlice, tile)

Name Type Default Description
Texture PIXI.Texture

the texture for this SliceSprite

BorderWidth Number

Width of the sprite borders

horizontalSlice Boolean

Slice the sprite horizontically

verticalSlice Boolean

Slice the sprite vertically

tile Boolean false optional

tile or streach