Want to add a caption to the picture, how to write code to achieve text outline or shadow? Like black fonts with white edges.
Or add a translucent mask to it.For example, there is a picture control, in the text area and then add a translucent yellow overlay, add text on top.
Another effect is to draw text in two different colors. And the background is bigger.If you need it to be displayed in a custom control, how can you ensure that it is 100% centered?
![]()
Or add a translucent mask to it.For example, there is a picture control, in the text area and then add a translucent yellow overlay, add text on top.
Another effect is to draw text in two different colors. And the background is bigger.If you need it to be displayed in a custom control, how can you ensure that it is 100% centered?
