$getSize

returns the current size of the component

array $getSize( [number dx,number dy] );

Parameters

dxnumberbase width
dynumberbase height

Returns

arrayan array of sizes
Details

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