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 ECMAScript object Type.

See Also