Properties

height

number

Height

width

number

Width

Method

equals

static

equals(a, b) returns boolean

Compares sizes for equality.

Parameter

a

Blockly.utils.Size

A Size.

b

Blockly.utils.Size

A Size.

Returns

boolean True iff the sizes have equal widths and equal heights, or if both are null.