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

Parameter Type Description
a Size
b Size

Returns:

Size