setX

abstract fun setX(x: Int)

设置位置的水平分量(x 坐标)。

Parameters

x

新的水平位置,单位为像素。