Text
data class Text(val text: String, val textStyle: TextStyle, val textMeasurer: TextMeasurer) : ParticleShape(source)
A text or emoji particle.
The string is rasterized once into an ImageBitmap (lazily, on first draw) using textMeasurer and textStyle, then drawn like an Image particle — so emitting many text particles stays cheap. Obtain the measurer with rememberTextMeasurer().