Dynamic Text Background

Hi,

I am having a bit of a problem with skia text. It doesnt seem to be possible to make a a easy going text background, both as a dynamic box or as dynamic bars behind the text, like in classic cms.

I am using BreakAtRect to format the text but there is not straight forward way to format the heigth of the rect according to the text after it was broken by width. Or am I missing it?

I discovered TextMeasurement, but seems to be a huge pain to patch something reliable…

Any ideas welcome!

I’d say this isn’t a bug but a feature request. Anyways just found this on my HD:

HowTo draw Text with Background.vl (50.2 KB)

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.