You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to display a substring of the text specified in the TextClip constructor in a different color than the rest of the text?
To be clearer, what I want to achieve is this:
Say, I have this line of code in my script
txt_clip = TextClip("Text Test",font="Tahoma-Bold", fontsize=70,color='black',stroke_width=5)
I want "Text" to be black and "Test" to be red in the final clip. How can I accomplish this?
Thanks!
The text was updated successfully, but these errors were encountered:
keikoro
added
question
Questions regarding functionality, usage
text
Issues dealing with TextClip, SubtitlesClip, or handling of text in general.
labels
Apr 4, 2022
Is there a way to display a substring of the text specified in the TextClip constructor in a different color than the rest of the text?
To be clearer, what I want to achieve is this:
txt_clip = TextClip("Text Test",font="Tahoma-Bold", fontsize=70,color='black',stroke_width=5)
Thanks!
The text was updated successfully, but these errors were encountered: