## Rect class

Rect 接口用于表示任何矩形值。该接口反映了底层样式属性中的值。因此，对 CSSPrimitiveValue 对象所做的修改会修改样式属性。

```csharp
public class Rect : DOMObject
```

## 特性

| 姓名 | 描述 |
| --- | --- |
| [Bottom](../../aspose.html.dom.css/rect/bottom/) { get; } | 该属性用于矩形的底部。 |
| [Left](../../aspose.html.dom.css/rect/left/) { get; } | 此属性用于 rect. 的左侧 |
| [Right](../../aspose.html.dom.css/rect/right/) { get; } | 该属性用于rect的右边。 |
| [Top](../../aspose.html.dom.css/rect/top/) { get; } | 此属性用于矩形的顶部。 |

## 方法

| 姓名 | 描述 |
| --- | --- |
| virtual [GetPlatformType](../../aspose.html.dom/domobject/getplatformtype/)() | 此方法用于检索 ECMAScript 对象Type. |

### 也可以看看

* class [DOMObject](../../aspose.html.dom/domobject/)
* 命名空间 [Aspose.Html.Dom.Css](../../aspose.html.dom.css/)
* 部件 [Aspose.HTML](../../)


