Instance Property


The shadow offset (measured in points) for the text.


var shadowOffset: CGSize { get set }


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

var shadowColor: UIColor?

The shadow color of the text.