Skip to content

$getSize

returns the current size of the component

function $getSize(
// base width
dx?: number,
// base height
dy?: number
): array

array an array of sizes

The returning array contains 5 sizes of the components:

  • min width
  • max width
  • min height
  • max height
  • gravity