## PsDocument::DrawRect method


Draws a rectangle.

```cpp
void Aspose::Page::EPS::PsDocument::DrawRect(double x, double y, double width, double height)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x | double | X coordinate of upper left corner of the rectangle. |
| y | double | Y coordinate of upper left corner of the rectangle. |
| width | double | A width of the rectangle. |
| height | double | A height of the rectangle. |

## See Also

* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
