Skip to content

DrawText with border? #407

@Menighin

Description

@Menighin

Hi guys,

This is more of a doubt (by the way, is there a specific forum for question or something?):

I have dynamic text over dynamic backgrounds. Im always writing the text in white but depending on the background and text length it may cause some issues writing white text over white background.

I was wondering: is there a simple way to add borders to my text? Or maybe some shadow or some kind of filter to highlight my text over the background?

I have searched on the TextGraphicsOptions and Font but couldnt find nothing.

The only way I can think of is first drawing the text in a black font with a slightly bigger size and then writing it in white, so it would be like a black-bordered white text.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions