Type

NineSlice

: {

left

: number

The width of the 9-slice's left column.

right

: number

The width of the 9-slice's right column.

top

: number

The height of the 9-slice's top row.

bottom

: number

The height of the 9-slice's bottom row.

tileMode

?: "none" | "edges" | "center" | "all"

How regions should tile when the sprite is scaled. - "none": All regions stretch (default) - "edges": Edge regions (top, bottom, left, right) tile, center stretches - "center": Center region tiles, edges stretch - "all": Both edges and center tile Corners never tile.

}

group Assets

subgroup Types

kaplay logo

Components

Miscellaneous