MinDuration

class MinDuration(val minimum: Duration) : TrimConstraint(source)

A range that may be any length at or above minimum.

Constructors

Link copied to clipboard
constructor(minimum: Duration)

Properties

Link copied to clipboard

How short the range may get.

Functions

Link copied to clipboard
open override fun constrain(proposed: TimeRange, handle: TrimHandle, duration: Duration): TimeRange

Corrects proposed into a range this constraint allows.