TextGeometricTransform

interface TextGeometricTransform : ComposableProperties<TextGeometricTransform>

定义了应用于文本的几何变换,例如水平缩放和倾斜。

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

Author

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

Functions

Link copied to clipboard
abstract fun getScaleX(): Float

获取文本在水平方向上的缩放比例。 默认值为 1.0f,表示不进行缩放。

Link copied to clipboard
abstract fun getSkewX(): Float

获取文本在水平方向上的倾斜(或称错切)因子。 默认值为 0.0f,表示不进行倾斜。