## 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`](../cssprimitivevalue/) objects modify the style property.

```java
public class Rect : DOMObject
```

## Properties

| Name | Description |
| --- | --- |
| [getBottom](../../com.aspose.html.dom.css/rect/bottom/) This attribute is used for the bottom of the rect. |
| [getLeft](../../com.aspose.html.dom.css/rect/left/) This attribute is used for the left of the rect. |
| [getRight](../../com.aspose.html.dom.css/rect/right/) This attribute is used for the right of the rect. |
| [getTop](../../com.aspose.html.dom.css/rect/top/) This attribute is used for the top of the rect. |

## Methods

| Name | Description |
| --- | --- |
| [getPlatformType](../../com.aspose.html.dom/domobject/getplatformtype/)() | This method is used to retrieve the ECMAScript object . |

## Remarks

[CSSOM](https://drafts.csswg.org/cssom/) defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.

Reference

[CSS Working Group](https://wiki.csswg.org/) - The CSS Working Group is the W3C working group chartered to develop Cascading Style Sheets (CSS).[CSS Object Model (CSSOM)](https://drafts.csswg.org/cssom/) - CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.

### See Also

* class [DOMObject](../../com.aspose.html.dom/domobject/)
* package [com.aspose.html.dom.css](../../com.aspose.html.dom.css/)
* package [Aspose.HTML](../../)
