Rect.setSize
Function/Meaning
Sets the rectangle size
Type
Method of the
Rect class
Syntax
setSize(
width
,
height
)
Arguments
width
Specifies the width of the rectangle.
This value can also be retrieved or set via the
Rect.width
property.
height
Specifies the height of the rectangle.
This value can also be retrieved or set via the
Rect.height
property.
Return Value
None (void)
Description
Specifies the rectangle size.