scrollTo

abstract fun scrollTo(x: Int, y: Int)

将整个页面滚动到指定的绝对坐标。

Parameters

x

目标位置的横向坐标 (单位: 像素)。

y

目标位置的纵向坐标 (单位: 像素)。