本文介绍了带Graphics.DrawPath的文本轮廓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在编写一个自定义控件,其中包含一些文本,我想使用此代码在其上添加轮廓:
I''m writing a custom control that contains some text that I want to put an outline on it using this code:
e.Graphics.DrawPath(New Pen(New SolidBrush(OutlineColor), OutlineSize), TextPath)
但是在绘制轮廓时,它的线条突出了一些字母,我不知道如何删除它们.有什么办法可以删除它们?
像这样
http://i46.tinypic.com/23k2no.jpg [ ^ ]
But when the outline is rendered, it has lines jutting out some of the letters and I don''t know how to remove them. Is there any way to remove them?
Like this
http://i46.tinypic.com/23k2no.jpg[^]
推荐答案
这篇关于带Graphics.DrawPath的文本轮廓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!