Transition

public struct Transition : Encodable

Undocumented

  • The duration of the transition, in milliseconds.

    If equal to zero, updates are synchronous.

    Declaration

    Swift

    public var duration: Double?
  • The easing function used for the transition

    Declaration

    Swift

    public var easing: Easing?
  • Determines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.

    See more

    Declaration

    Swift

    public enum Ordering : String, Encodable
  • Determines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.

    Declaration

    Swift

    public var ordering: Ordering?
  • Creates Transition object with specified properties.

    Declaration

    Swift

    public init(duration: Double? = nil, easing: Easing? = nil, ordering: Ordering? = nil)

    Parameters

    duration

    The duration of the transition, in milliseconds.

    easing

    The easing function used for the transition

    ordering

    Determines whether the figure’s layout or traces smoothly transitions during updates that make both traces and layout change.