CALayer.Opacity Property

Definition

The transparency of the layer, in the range 0 (transparent) to 1.0 (opaque).

public virtual float Opacity { [Foundation.Export("opacity")] get; [Foundation.Export("setOpacity:")] set; }
member this.Opacity : single with get, set

Property Value

The default value is 1.0.

Attributes

Applies to