OverlayTime
class OverlayTime(val elapsed: Duration, val remaining: Duration, val composition: Duration)(source)
Where one frame sits inside the range an overlay is drawn over.
The drawn range is the one drawnRangeWithin derives, so elapsed and remaining count from the first frame the overlay is drawn on and to the last rather than from the start of the composition.
Properties
Link copied to clipboard
Where the frame sits on the composition's own timeline.
Link copied to clipboard
How much of the drawn range is left, never negative, or Duration.INFINITE while the drawn range has no end. A ramp measured off an infinite remainder never begins, so the out side of fade holds full opacity and slideOut holds the authored position.