Sprite:getLayoutInfo

This page contains changes which are not marked for translation.


Available since: Gideros 2018.9
Class: Sprite

Description



Returns computed placement value according to Gideros layout system. The returned table can contain the following fields:

  • startx: The 0-based index of the column the child was placed into
  • starty: The 0-based index of the row the child was placed into
  • width: The width of the child
  • height: The height of the child
  • weightx: The horizontal weight of the child
  • weighty: The vertical weight of the child
  • minWidth (table): Minimum width
  • minHeight (table): Minimum height
(table) = Sprite:getLayoutInfo()

Return values

Returns (table) Table of layout information.