# TextLayer.stroke
The stroke applied to this text layer, if any.

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

## TextLayer.stroke property

The stroke applied to this text layer, or `undefined` if there is no stroke.

**Signature:**

```typescript
readonly stroke: TextStroke | undefined;
```

**Type:** [TextStroke](/en/creator-api/types/text-stroke) | undefined

## Remarks

Text layers support a single solid stroke. Use [createStroke()](/en/creator-api/nodes/text-layer/create-stroke) to add or replace it.
