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
Bottom { get; }This attribute is used for the bottom of the rect.
Left { get; }This attribute is used for the left of the rect.
Right { get; }This attribute is used for the right of the rect.
Top { get; }This attribute is used for the top of the rect.

Methods

NameDescription
virtual 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