UINineSlice
Defined in: ui/src/UINineSlice.ts:11
Displays a nine-slice texture as a UI element. Requires explicit width/height from layout.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UINineSlice(
props):UINineSlice
Defined in: ui/src/UINineSlice.ts:21
Parameters
Section titled “Parameters”Returns
Section titled “Returns”UINineSlice
Properties
Section titled “Properties”container
Section titled “container”
readonlycontainer:NineSliceSprite
Defined in: ui/src/UINineSlice.ts:12
yogaNode
Section titled “yogaNode”
readonlyyogaNode:Node
Defined in: ui/src/UINineSlice.ts:13
Implementation of
Section titled “Implementation of”Accessors
Section titled “Accessors”displayObject
Section titled “displayObject”Get Signature
Section titled “Get Signature”get displayObject():
Container
Defined in: ui/src/UINineSlice.ts:15
Returns
Section titled “Returns”Container
Implementation of
Section titled “Implementation of”visible
Section titled “visible”Get Signature
Section titled “Get Signature”get visible():
boolean
Defined in: ui/src/UINineSlice.ts:65
Returns
Section titled “Returns”boolean
Set Signature
Section titled “Set Signature”set visible(
v):void
Defined in: ui/src/UINineSlice.ts:69
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”applyLayout()
Section titled “applyLayout()”applyLayout():
void
Defined in: ui/src/UINineSlice.ts:58
Set sprite dimensions to match Yoga computed size.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”destroy()
Section titled “destroy()”destroy():
void
Defined in: ui/src/UINineSlice.ts:92
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”update()
Section titled “update()”update(
props):void
Defined in: ui/src/UINineSlice.ts:74
Parameters
Section titled “Parameters”Record<string, unknown>
Returns
Section titled “Returns”void