Rect : Object

Represents a CSS rect (rectangle) value.

Browser/User Agent Support

IEMozillaNetscapeOperaSafariNetscapte
no1.0+6.0+9.0+1.0+no

Constructors

ConstructorIEMozillaNetscapeOperaSafariNetscapte
Represents a CSS rect (rectangle) value.
no1.0+6.0+9.0+1.0+no
 

Properties

PropertyIEMozillaNetscapeOperaSafariNetscapte
Bottom of the rectangle.
no1.0+6.0+9.0+1.0+no
 
Left side of the rectangle.
no1.0+6.0+9.0+1.0+no
 
Right side of the rectangle.
no1.0+6.0+9.0+1.0+no
 
Top of the rectangle.
no1.0+6.0+9.0+1.0+no
 

Availability

HTML DOM Level 2 | W3C

Constructor Detail

Rect Rect()

Represents a CSS rect (rectangle) value.

Visibility
internal

Property Detail

CSSPrimitiveValue bottom - read only

Bottom of the rectangle.

Availability

HTML DOM Level 2 | W3C

CSSPrimitiveValue left - read only

Left side of the rectangle.

Availability

HTML DOM Level 2 | W3C

CSSPrimitiveValue right - read only

Right side of the rectangle.

Availability

HTML DOM Level 2 | W3C

CSSPrimitiveValue top - read only

Top of the rectangle.

Availability

HTML DOM Level 2 | W3C