Animation

class Animation

An object representing the animation of a layer’s property. For example, an animation may represent a change in a layer’s x-position of opacity.

  • The layer whose property is animated by this animation.

    Declaration

    var layer: Layer? { get }
  • The property animated by this animation.

    Declaration

    var property: Property { get }
  • The value of the layer’s property when when the animation begins.

    Declaration

    var from: Value { get }
  • to

    The value of the layer’s property once the animation completes.

    Declaration

    var to: Value { get }
  • The start time of the animation in seconds.

    Declaration

    var beginTime: Double { get }
  • The end time time of the animation in seconds.

    Declaration

    var endTime: Double { get }
  • The duration of the animation in seconds.

    Declaration

    var duration: Double { get }
  • The timing function of the animation.

    Declaration

    var timingFunction: TimingFunction { get }
  • id

    The animations unique identifier.

    Declaration

    var id: String { get }
  • The object’s description

    Declaration

    var description: String { get }