getX

abstract fun getX(): Dp

获取此偏移量的水平分量。

Return

水平方向的偏移量,单位为 Dp

See also

androidx.compose.ui.unit.DpOffset.x