getWidth

abstract fun getWidth(): Int

获取矩形的宽度。 计算方式为 right - left

Return

矩形的宽度值。

See also

androidx.compose.ui.unit.IntRect.width