FastTextDrawScope

data class FastTextDrawScope(constraints: Constraints, scope: DrawScope)

Constructors

Link copied to clipboard
constructor(constraints: Constraints, scope: DrawScope)

Functions

Link copied to clipboard
inline fun draw(result: FastTextResult, drawBlock: DrawScope.(FastTextResult) -> Unit)
Link copied to clipboard
fun drawBackground(result: FastTextResult, color: Color)
Link copied to clipboard
fun drawText(result: FastTextResult, color: Color)
Link copied to clipboard
fun measure(measurer: TextMeasurer, text: String, style: TextStyle): FastTextResult