# Polygon
Represents a polygon shape.

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

## Polygon interface

Represents a polygon shape.

**Signature:**

```typescript
interface Polygon extends ShapeMixin
```

**Extends:** [ShapeMixin](/en/creator-api/nodes/shape-mixin)

## Properties

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

      <th>
        Modifiers
      </th>

      <th>
        Type
      </th>

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

  <tbody>
    <tr>
      <td>
        [outerRadius](/en/creator-api/nodes/polygon/outer-radius)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        [Animatable](/en/creator-api/nodes/animatable)\<number>
      </td>

      <td>
        Outer radius of the polygon
      </td>
    </tr>

    <tr>
      <td>
        [outerRoundness](/en/creator-api/nodes/polygon/outer-roundness)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        [Animatable](/en/creator-api/nodes/animatable)\<number>
      </td>

      <td>
        Roundness of the outer points (0-100)
      </td>
    </tr>

    <tr>
      <td>
        [points](/en/creator-api/nodes/polygon/points)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        [Animatable](/en/creator-api/nodes/animatable)\<number>
      </td>

      <td>
        Number of points of the polygon
      </td>
    </tr>

    <tr>
      <td>
        [position](/en/creator-api/nodes/polygon/position)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        [Animatable](/en/creator-api/nodes/animatable)\<[Vector](/en/creator-api/values/vector)>
      </td>

      <td>
        Position of the polygon
      </td>
    </tr>

    <tr>
      <td>
        [rotation](/en/creator-api/nodes/polygon/rotation)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        [Animatable](/en/creator-api/nodes/animatable)\<number>
      </td>

      <td>
        Rotation angle in degrees
      </td>
    </tr>

    <tr>
      <td>
        [type](/en/creator-api/nodes/polygon/type)
      </td>

      <td>
        `readonly`
      </td>

      <td>
        "POLYGON"
      </td>

      <td>
        Shape type
      </td>
    </tr>
  </tbody>
</table>
