blockly > utils > Size > min

utils.Size.min() method

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

Signature:

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

Parameters

Parameter Type Description
a Size
b Size

Returns:

Size