Jetpack Compose 中如何自定义文本笔画的描边效果?

compose-ui 库从 1.4.0-alpha01 版本开始为 TextStyle, SpanStyle, Paragraph, MultiParagraph, 等增加了 DrawStyle 属性用于绘制文字笔画/轮廓效果

Jetpack Compose 中 DrawStyle 详解 - (线段/笔画/轮廓的绘制样式)

在 drawLine drawRect drawText drawRect drawImage, drawOval 等绘制方法中可以通过 drawStyle 属性控制线段/轮廓的绘制效果
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×