Event.LAYOUT RESIZED: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
'''Available since:''' Gideros 2018.5<br/>
'''Available since:''' Gideros 2018.5<br/>
'''Value:''' layout_resized<br/>
'''Value:''' layout_resized<br/>
'''Defined by:''' [[Sprite]]<br/>
=== Description ===
=== Description ===
Dispatched to a sprite when its size has been set by the layout system.
Dispatched to a sprite when its size has been set by the layout system.
=== Parameters ===
=== Parameters ===
'''width''': (number) the computed width of the sprite<br/>
'''width''': (number) the computed width of the sprite<br/>
'''height''': (number) the computed height of the sprite<br/>
'''height''': (number) the computed height of the sprite<br/>
=== See also ===
'''[[EventDispatcher:addEventListener]]'''</br>
{{Sprite}}

Latest revision as of 05:12, 7 December 2025

Available since: Gideros 2018.5
Value: layout_resized
Defined by: Sprite

Description

Dispatched to a sprite when its size has been set by the layout system.

Parameters

width: (number) the computed width of the sprite
height: (number) the computed height of the sprite

See also

EventDispatcher:addEventListener