Rect.setSize

Function/Meaning

Rectangle size setting

Type
Rectclassmethod of
Syntax
setSize(width, height)
Arguments
width

Specifies the width of the rectangle.
This value can also be obtained and set with the Rect.width property.

height

Specifies the vertical width of the rectangle.
This value can also be obtained and set with the Rect.height property.

Return value
None (void)
Explanation

Specify the rectangle size.