returns the current size of the component

array $getSize( [number dx,number dy] );
dxnumberbase width
dynumberbase height
arrayan array of sizes

The method is used in the inner sizing logic and not intended for direct use.
To get component sizes, please use the $width and $height properties

An array of sizes

The returning array contains 5 sizes of the components:

  • min width
  • max width
  • min height
  • max height
  • gravity
See also
Back to top