createOffset

abstract fun createOffset(x: Dp, y: Dp): DpOffset

使用指定的x和y坐标创建 DpOffset 对象。

Return

创建的 DpOffset 对象。

Parameters

x

水平偏移量。

y

垂直偏移量。