Android Question Font outline and stroke

James Chamblin

Active Member
Licensed User
Longtime User
There are two possible ways that come to mind. Both would require a canvas. First way would be to DrawText() twice for each letter, first time in black, second time in yellow. The second letter would be slightly smaller than the first. Second way is to use a bitmap font. You would have a bitmap with all the letters in the style you need and use DrawBitmap() to draw the letters where you want them.

Personally, I would go with the second. There are several bitmap font editors that allow you to load in a ttf and change decoration as you need to.
Upvote 0