class documentation

A Scale defines a translation between a branch (i.e., "child") time scale, and a trunk (i.e., "parent") time scale.

Method down Translate time from the trunk time scale into the branch time scale.
Method shift Shift the current scale forward to incorporate
Method up Translate time from the branch time scale into the trunk time scale.
def down(self, offset: _TrunkDelta, time: _TrunkTime) -> _BranchTime: (source)

Translate time from the trunk time scale into the branch time scale.

def shift(self, pauseTime: _BranchTime | None, currentTime: _TrunkTime) -> _TrunkDelta: (source)

Shift the current scale forward to incorporate

def up(self, offset: _TrunkDelta, time: _BranchTime) -> _TrunkTime: (source)

Translate time from the branch time scale into the trunk time scale.