Contents

shadowOpacity

The opacity of the layer’s shadow. Animatable.

Declaration

var shadowOpacity: Float { get set }

Discussion

The value in this property must be in the range 0.0 (transparent) to 1.0 (opaque). The default value of this property is 0.0.

See Also

Modifying the layer’s appearance