Rect Class

Rect class

The Rect interface is used to represent any rect value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property.

public class Rect : DOMObject

Properties

NameDescription
getBottom This attribute is used for the bottom of the rect.
getLeft This attribute is used for the left of the rect.
getRight This attribute is used for the right of the rect.
getTop This attribute is used for the top of the rect.

Methods

NameDescription
getPlatformType()This method is used to retrieve the ECMAScript object .

Remarks

CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.

Reference

CSS Working Group - The CSS Working Group is the W3C working group chartered to develop Cascading Style Sheets (CSS).CSS Object Model (CSSOM) - CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.

See Also