How to apply different styles for different part of text in expression
Posted: December 16th, 2021, 6:15 am
By using expression, I know how to return a styled text, such as
Code: Select all
text.sourceText.style.setText('red').setFillColor(0xff0000)
But this method will apply same style for the whole text.
So, is there any ways to make different styles for different parts of a text?