# RectangleOptions
Options for creating a rectangle shape.

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

## RectangleOptions interface

Options for creating a rectangle shape.

**Signature:**

```typescript
interface RectangleOptions
```

## Properties

<table>
  <thead>
    <tr>
      <th>
        Property
      </th>

      <th>
        Modifiers
      </th>

      <th>
        Type
      </th>

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

  <tbody>
    <tr>
      <td>
        [position?](/en/creator-api/types/rectangle-options/position)
      </td>

      <td />

      <td>
        [Vector](/en/creator-api/values/vector)
      </td>

      <td>
        _(Optional)_ Initial position of the rectangle
      </td>
    </tr>

    <tr>
      <td>
        [roundness?](/en/creator-api/types/rectangle-options/roundness)
      </td>

      <td />

      <td>
        number
      </td>

      <td>
        _(Optional)_ Initial corner roundness (0 = sharp corners)
      </td>
    </tr>

    <tr>
      <td>
        [size?](/en/creator-api/types/rectangle-options/size)
      </td>

      <td />

      <td>
        [Size](/en/creator-api/values/size)
      </td>

      <td>
        _(Optional)_ Initial size of the rectangle
      </td>
    </tr>
  </tbody>
</table>
