Skip to content

1681-engine / ui / sizeOf

Function: sizeOf() ​

ts
function sizeOf(c): Size;

Defined in: src/ui/Widget.ts:121

A child's layout size: a widget's box, anything else its drawn bounds.

Parameters ​

ParameterType
cContainer

Returns ​

Size

Released under the MIT License.