Skip to main content

Home > blockly > utils > Size > max

utils.Size.max() method

Returns a new size with the maximum width and height values out of both sizes.

Signature:

static max(a: Size, b: Size): Size;

Parameters

ParameterTypeDescription
aSize
bSize

Returns:

Size