# ShapeContainerMixin.createEllipse
Creates a new ellipse shape in this container

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## ShapeContainerMixin.createEllipse() method

Creates a new ellipse shape in this container

**Signature:**

```typescript
createEllipse(opts?: EllipseOptions): Ellipse;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        opts
      </td>

      <td>
        [EllipseOptions](../../types/ellipse-options)
      </td>

      <td>
        _(Optional)_ Optional configuration for the ellipse
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

[Ellipse](../ellipse)

The newly created ellipse

## Example

```ts
// Create an ellipse shape
const ellipse = await layer.createEllipse({
  position: { x: 100, y: 100 },
  size: { width: 200, height: 100 },
});
```
