开发者

Color framed text in WPF

What approach can be taken, if not built in anyway, to frame the text of a TextBlock with a color? For in开发者_运维技巧stance white text with black borders.


Convert the text to a geometry

A Geometry can be drawn using a Stroke (outline) and a Fill (inner brush)

See this page for examples

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜