measureText

actual fun measureText(text: String): Float

Advance width of text in raw pixels using this font's typeface + size. Includes kerning where the platform supports it. Returns 0 for empty input. Used by per-glyph placement (e.g. baseline-following text along a curve).

expect fun measureText(text: String): Float

Advance width of text in raw pixels using this font's typeface + size. Includes kerning where the platform supports it. Returns 0 for empty input. Used by per-glyph placement (e.g. baseline-following text along a curve).

actual fun measureText(text: String): Float

Advance width of text in raw pixels using this font's typeface + size. Includes kerning where the platform supports it. Returns 0 for empty input. Used by per-glyph placement (e.g. baseline-following text along a curve).

actual fun measureText(text: String): Float

Advance width of text in raw pixels using this font's typeface + size. Includes kerning where the platform supports it. Returns 0 for empty input. Used by per-glyph placement (e.g. baseline-following text along a curve).

actual fun measureText(text: String): Float

Advance width of text in raw pixels using this font's typeface + size. Includes kerning where the platform supports it. Returns 0 for empty input. Used by per-glyph placement (e.g. baseline-following text along a curve).