Skip to content

zoomAtTimestamp(scale, timestamp, animationDuration?) ​

zoomAtTimestamp 在指定时间戳位置缩放。

参考 ​

typescript
(
  scale: number,
  timestamp: number, 
  animationDuration?: number
) => void

参数 ​

  • scale 缩放比例
  • timestamp 时间戳
  • animationDuration 动画持续时间,如果小于等于0,则无动画。

返回值 ​

zoomAtTimestamp 返回 undefined 。

用法 ​

基本用法 ​