---
title: cornerRadius
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/textcomponent/cornerradius
---

# cornerRadius

The corner radius of the text mesh.

## Declaration

```swift
var cornerRadius: Float
```

## Discussion

Discussion The corner geometry is based on a circular shape and is not a continuous corner. Text components use the CoreGraphics coordinate space: The origin is at the upper left of the canvas and positive values extend down and to the right.
