BaselineShift

interface BaselineShift : ComposableProperties<BaselineShift>

定义了文本相对于其正常基线的垂直偏移量。

正值将文本向上移动(如上标),负值将文本向下移动(如下标)。 偏移量是通过一个乘数来计算的,该乘数作用于字体的上升高度。

此接口是对 Jetpack Compose androidx.compose.ui.text.style.BaselineShift 的抽象封装。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getMultiplier(): Float

获取基线偏移的乘数值。