# ShapeContainerMixin.createTrimPath
Creates a trim path in this container

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

## ShapeContainerMixin.createTrimPath() method

Creates a trim path in this container

**Signature:**

```typescript
createTrimPath(opts?: TrimPathOptions): TrimPath;
```

## Parameters

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

      <th>
        Type
      </th>

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

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

      <td>
        [TrimPathOptions](../../types/trim-path-options)
      </td>

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

**Returns:**

[TrimPath](../../types/trim-path)

The newly created trim path
