Rect.width

Function/Meaning
Rectangle width
Type
Rect Class Properties
Explanation

Specifies the width of the rectangle.
You can also set the value.

Reference
Rect.setSize