unset

open fun unset(reject: Interval): THIS

(DOC) Unsets everything in a given interval. Timeline objects whose intervals fully contain the rejected interval may be split into two objects.

Unfortunately this can't be used for any performance gain; instead of evaluating the timeline twice, once on either side of the rejected interval (and combining the results), it has to evaluate the timeline on the entire original bounds and cut out anything in the rejected interval. This is because using unset in combination with any operation that depends on interval duration may yield incorrect results for objects that border the rejected interval.

Parameters

reject

the interval on which to delete or truncate any objects