PrepareDrawer
Functions
Link copied to clipboard
fun measureStrokeText(text: String, font: FontResource? = null, fontWeight: FontWeight = FontWeight.Normal, fontStyle: FontStyle = FontStyle.Normal, letterSpacing: Float = 0.015f, shadow: Shadow? = null, textDecoration: TextDecoration? = null, blendMode: BlendMode = DrawScope.DefaultBlendMode): StrokeTextGraph
Link copied to clipboard
fun measureText(text: String, font: FontResource? = null, fontWeight: FontWeight = FontWeight.Normal, fontStyle: FontStyle = FontStyle.Normal, letterSpacing: Float = 0.015f, shadow: Shadow? = null, textDecoration: TextDecoration? = null, blendMode: BlendMode = DrawScope.DefaultBlendMode): TextGraph