# image.drawBeveledRect()

Draws a rectangle with beveled edges.

```
image.drawBeveledRect( x=number, y=number, width=number, height=number, raised=boolean, filled=boolean )
```

**Returns:** image

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| x | number | Yes | The x coordinate of the rectangle. |  |
| y | number | Yes | The y coordinate of the rectangle. |  |
| width | number | Yes | The width of the rectangle. |  |
| height | number | Yes | The height of the rectangle. |  |
| raised | boolean | No | Specify whether the rectangle appears raised above the surface or sunk into the surface: - true: The rectangle is raised. - false (default): The rectangle is sunk. |  |
| filled | boolean | No | Specify whether the rectangle is filled: - true: The rectangle is filled with the specified drawing color. - false (default): Only the outline of the rectangle is drawn. |  |

# Examples

*There are currently no examples for this function*

# Categories

[Image manipulation](../../../categories/image.md)

# See Also

[ImageDrawBeveledRect()](../../functions/imagedrawbeveledrect.md), [Image](../image.md)