TextDecoration

interface TextDecoration : ComposableProperties<ERROR CLASS: Symbol not found for androidx.compose.ui.text.style.TextDecoration>

定义了绘制在文本上的水平线样式,如下划线或删除线。

文本装饰可以进行组合,例如同时应用下划线和删除线。 此接口是对 Jetpack Compose androidx.compose.ui.text.style.TextDecoration 的抽象封装。

Author

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

Functions

Link copied to clipboard
abstract operator fun contains(other: TextDecoration): Boolean

检查此文本装饰是否包含了另一个指定的装饰。

Link copied to clipboard
abstract operator fun plus(other: TextDecoration): TextDecoration

将此文本装饰与另一个组合,返回一个新的、包含两者样式的文本装饰。