## Rect structure

A class to represent the rectangle

```csharp
public struct Rect
```

## Constructors

| Name | Description |
| --- | --- |
| [Rect](rect/)(int, int, int, int) | Constructor of class `Rect` |

## Properties

| Name | Description |
| --- | --- |
| [Bottom](../../aspose.threed.utilities/rect/bottom/) { get; } | Gets the bottom of the rectangle |
| [Height](../../aspose.threed.utilities/rect/height/) { get; set; } | Gets or sets the height of the size |
| [Left](../../aspose.threed.utilities/rect/left/) { get; } | Gets the left of the rectangle |
| [Right](../../aspose.threed.utilities/rect/right/) { get; } | Gets the right of the rectangle |
| [Top](../../aspose.threed.utilities/rect/top/) { get; } | Gets the top of the rectangle |
| [Width](../../aspose.threed.utilities/rect/width/) { get; set; } | Gets or sets the width of the size |
| [X](../../aspose.threed.utilities/rect/x/) { get; set; } | Gets or sets the x of the size |
| [Y](../../aspose.threed.utilities/rect/y/) { get; set; } | Gets or sets the y of the size |

## Methods

| Name | Description |
| --- | --- |
| [Contains](../../aspose.threed.utilities/rect/contains/)(int, int) | Return true if the given point is inside the rectangle. |

### See Also

* namespace [Aspose.ThreeD.Utilities](../../aspose.threed.utilities/)
* assembly [Aspose.3D](../../)


