Instance Property


The shadow color of the text.


var shadowColor: UIColor? { get set }


The default value for this property is nil, which indicates that no shadow is drawn. In addition to this property, you may also want to change the default shadow offset by modifying the shadowOffset property. Text shadows are drawn with the specified offset and color and no blurring.

See Also

Drawing a Shadow

var shadowOffset: CGSize

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