Package-level declarations

Types

Link copied to clipboard
@Stable
interface BasicTextGraph

Paragraph 在 android 和 skia 上有不一致的绘制表现 在 android 上,Paragraph 居然维持状态不能够重复利用绘制

Link copied to clipboard
@Stable
class Drawer : PrepareDrawer
Link copied to clipboard
@Stable
open class InitialDrawer
Link copied to clipboard
@Stable
object LayerOrder
Link copied to clipboard
@Stable
enum LayerType : Enum<LayerType>
Link copied to clipboard
@Stable
open class PrepareDrawer : InitialDrawer
Link copied to clipboard
@Stable
actual class StrokeTextGraph : BasicTextGraph

compose 在 Paragraph 上对 Android 和 skia 有不一致的渲染 处理描边+填充的文本在 Android 上必须分两次绘制,否则会覆盖掉 Paragraph 的结果 参看 androidx.compose.ui.text.Paragraph.paint

@Stable
expect class StrokeTextGraph : BasicTextGraph

compose 在 Paragraph 上对 Android 和 skia 有不一致的渲染 处理描边+填充的文本在 Android 上必须分两次绘制,否则会覆盖掉 Paragraph 的结果 参看 androidx.compose.ui.text.Paragraph.paint

@Stable
actual class StrokeTextGraph : BasicTextGraph

compose 在 Paragraph 上对 Android 和 skia 有不一致的渲染 处理描边+填充的文本在 Android 上必须分两次绘制,否则会覆盖掉 Paragraph 的结果 参看 androidx.compose.ui.text.Paragraph.paint

Link copied to clipboard
@Stable
class TextGraph : BasicTextGraph

Functions

Link copied to clipboard
actual fun buildPlatformTextStyle(): PlatformTextStyle
expect fun buildPlatformTextStyle(): PlatformTextStyle
actual fun buildPlatformTextStyle(): PlatformTextStyle