# Oval

Xojo provides an <span class="title-ref">Oval</span> control for desktop, and mobile projects:

- `DesktopOval</api/user_interface/desktop/desktopoval>`
- `MobileOval</api/user_interface/mobile/mobileoval>`

<div class="tip">

<div class="title">

Tip

</div>

For web projects, you can easily draw <span class="title-ref">oval</span> shapes via with the `WebCanvas</api/user_interface/web/webcanvas>`. You could even create a subclass of WebCanvas and call it WebOval to create the equivalent of the DesktopOval and MobileOval.

</div>

## Common members

These methods and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

### Methods

| Name    | Description                          |
|---------|--------------------------------------|
| Refresh | Causes the control to redraw itself. |

### Properties

| Name            | Description                                                                     |
|-----------------|---------------------------------------------------------------------------------|
| BorderColor     | The color of the oval's border.                                                 |
| BorderThickness | The thickness of the oval's border.                                             |
| FillColor       | The color used to fill the interior of the <span class="title-ref">oval</span>. |
| Height          | The height of the <span class="title-ref">oval</span>.                          |
| Width           | The width of the <span class="title-ref">oval</span>.                           |

<div class="seealso">

`DesktopOval</api/user_interface/desktop/desktopoval>` and `MobileOval</api/user_interface/mobile/mobileoval>`

</div>
