Stay organized with collections Save and categorize content based on your preferences.

blockly > Icon > getCorrectedSize

Icon.getCorrectedSize() method

Get the size of the icon as used for rendering. This differs from the actual size of the icon, because it bulges slightly out of its row rather than increasing the height of its row.

Signature:

getCorrectedSize(): Size;

Returns:

Size

Height and width.