---
title: shadowOffset
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilabel/shadowoffset
---

# shadowOffset

The shadow offset, in points, for the text.

## Declaration

```swift
var shadowOffset: CGSize { get set }
```

## Discussion

Discussion The shadow color must be not be nil for this property to have any effect. The default offset size is (0, -1), which indicates a shadow one point above the text. A label draws its text shadows with the specified offset and color and no blurring.

## See Also

### Drawing a shadow

- [shadowColor](uikit/uilabel/shadowcolor.md)
