Skip to main content
A rect object describes a rectangle defined using coordinates of four lines that form its left, top, right, and bottom borders. Borders of a rectangle are always parallel to the edges of the page. The coordinates are specified in pixels. * Indicates a required property.