-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
In addition to a call like this:
spriteBatch.DrawString(font, "The quick brown fox", positionVector, Color.White);I would like to provide the colors for each glyph:
spriteBatch.DrawString(font, "The quick brown fox", positionVector, colors);Where colors is an array of Color the same length or longer than the number of glyphs that will be rendered.
This would allow highlighting words in text, without needing bold, italics, etc. Messages like "Press [Space] to continue" could have the "[Space]" portion highlighted (presumably in the game's color scheme).
Is there a way to do something like this now?
If not, would this be possible as a feature request?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels