# TextStroke
A solid stroke applied to a TextLayer.

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

## TextStroke interface

A solid stroke applied to a [TextLayer](/en/creator-api/nodes/text-layer). Unlike strokes on shapes, text strokes only support solid color fills (no gradients).

**Signature:**

```typescript
interface TextStroke
```

## Properties

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

      <th>
        Modifiers
      </th>

      <th>
        Type
      </th>

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

  <tbody>
    <tr>
      <td>
        fill
      </td>

      <td>
        `readonly`
      </td>

      <td>
        [SolidPaint](/en/creator-api/values/solid-paint)
      </td>

      <td>
        The solid paint used for the stroke.
      </td>
    </tr>

    <tr>
      <td>
        width
      </td>

      <td>
        `readonly`
      </td>

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

      <td>
        The stroke width.
      </td>
    </tr>
  </tbody>
</table>

## Methods

<table>
  <thead>
    <tr>
      <th>
        Method
      </th>

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

  <tbody>
    <tr>
      <td>
        remove()
      </td>

      <td>
        Removes this stroke from its text layer.
      </td>
    </tr>
  </tbody>
</table>
