## SVGRect class

Represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.

```java
public class SVGRect : SVGValueType
```

## Properties

| Name | Description |
| --- | --- |
[getHeight]
[setHeight] The Height coordinate of the rectangle, in user units. |
[getWidth]
[setWidth] The Width coordinate of the rectangle, in user units. |
| [X](../../com.aspose.html.dom.svg.datatypes/svgrect/x/) { get; set; } | The X coordinate of the rectangle, in user units. |
| [Y](../../com.aspose.html.dom.svg.datatypes/svgrect/y/) { get; set; } | The Y coordinate of the rectangle, in user units. |

## Methods

| Name | Description |
| --- | --- |
| [dispose](../../com.aspose.html.dom.svg.datatypes/svgvaluetype/dispose/)() | Releases unmanaged and - optionally - managed resources. |
| [getPlatformType](../../com.aspose.html.dom/domobject/getplatformtype/)() | This method is used to retrieve the ECMAScript object . |
| [toString](../../com.aspose.html.dom.svg.datatypes/svgrect/toString/)() | Returns a String that represents this instance. |

### See Also

* class [SVGValueType](../svgvaluetype/)
* package [com.aspose.html.dom.svg.datatypes](../../com.aspose.html.dom.svg.datatypes/)
* package [Aspose.HTML](../../)
