CALayer.Duration Property

Definition

The animation duration of this layer, in seconds.

[get: Foundation.Export("duration")]
[set: Foundation.Export("setDuration:")]
public virtual double Duration { get; set; }
member this.Duration : double with get, set

Property Value

The default value is 0.25. If this value is 0 or negative, the duration is the value of P:CoreAnimation.CATransation.AnimationDuration.

Implements

Attributes

Applies to