Frame

public struct Frame : Encodable

Undocumented

  • The duration in milliseconds of each frame.

    If greater than the frame duration, it will be limited to the frame duration.

    Declaration

    Swift

    public var duration: Double?
  • Redraw the plot at completion of the transition.

    This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot

    Declaration

    Swift

    public var redraw: Bool?
  • Creates Frame object with specified properties.

    Declaration

    Swift

    public init(duration: Double? = nil, redraw: Bool? = nil)

    Parameters

    duration

    The duration in milliseconds of each frame.

    redraw

    Redraw the plot at completion of the transition.