Rect specifies a two-dimensional rectangle's x,y,width, and height attributes.
Class Properties (see Type)
- (Rect) or (x,y,w,h)-> Rect Create a new Rect value. Its attributes are initialized by another Rect or up to 4 integer parameters. Otherwise, the attributes are initialized to 0.
Instance Methods and Properties
- set or get the height attribute.
- set or get the width attribute.
- set or get the x attribute.
- set or get the y attribute.