Rect.width Property

Gets or sets the width of the rectangle. If set to a negative value, the rectangle is normalized by adjusting left and making width positive.
 

Property Value

Type: Number