---
title: attributedText
framework: paperkit
role: symbol
role_heading: Instance Property
path: paperkit/shapemarkup/attributedtext
---

# attributedText

The attributed text displayed inside this shape.

## Declaration

```swift
var attributedText: AttributedString { get set }
```

## Discussion

Discussion The attributed string supports: .font, .foregroundColor, .underlineStyle, .strikethroughStyle and writing direction and alignment from .paragraphStyle.
