Rect.getSize

Returns size of a rectangle.

Syntax

var size = rect.getSize();

Returns

Returns object with two properties

Property Description
width Width of rectangle
height Height of rectangle
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.