getCenterY

abstract fun getCenterY(): Int

获取矩形中心点的y坐标。 计算方式为 top + height / 2

Return

中心点的y坐标值。

See also

androidx.compose.ui.unit.IntRect.center