Keyvalue

class Keyvalue

A keyvalue indicates the value of a property at a point in time.

  • id

    The keyvalues unique identifier.

    Declaration

    var id: String { get }
  • The time in the timeline.

    Declaration

    var time: Double { get }
  • The timeline this keyvalue belongs to.

    Declaration

    var timeline: Timeline? { get }
  • The value of the track at time time.

    Declaration

    var value: Value { get }
  • The property this keyvalue is for.

    Declaration

    var property: Property { get }
  • The track this keyvalue belongs to.

    Declaration

    var track: Track? { get }
  • The timing function of the animation begining at this keyvalue.

    Declaration

    var trailingTimingFunction: TimingFunction { get }
  • The object’s description

    Declaration

    var description: String { get }
  • The timing function of the animation ending at this keyvalue.

    Declaration

    var leadingTimingFunction: TimingFunction? { get }
  • The object’s description

    Declaration

    var description: String { get }
  • Compares two values for equality.

    The equals function is invoked using infix notation as in the following code snippet: lhs == rhs.

    Declaration

    func equals(_ lhs: Track) -> Bool

    Parameters

    lhs

    A value.

    rhs

    Another value.

    Return Value

    true if the lhs and rhs are equal, false otherwise.