本文介绍了.Net和GDI +如何在圆角矩形上绘制内部斜角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!
我寻求了很多,但没有成功.
我有一个用GraphicsPath制成的圆角矩形,并且想要有一个像在Photoshop中一样的内斜角.
我可以使用PathGradientBrush轻松绘制内部阴影"效果.
内部阴影效果不错,但只有一种颜色.
网络上似乎没有人有答案.
感谢您的想法
Hi !
I sought much, but without success.
I have a rounded rectangle made with a GraphicsPath and I want to have an inner bevel like in Photoshop.
I can easilly drawing an "inner shadow" effect using a PathGradientBrush.
The inner shadow is a good effect, but have only one color.
Nobody on the web seems to have an answer.
Thanks for your ideas
推荐答案
这篇关于.Net和GDI +如何在圆角矩形上绘制内部斜角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!