【发布时间】:2013-06-28 03:52:00
【问题描述】:
我正在制作一个程序,通过 vb.net 在 WPF 中的图像控件中的图片幻灯片放映之间进行星号擦除过渡
现在我正在图像控件中绘制星形图片
我以表格形式完成了 这是在表单上绘制多边形的代码
'here i draw the star points
MyPolygon.Points = myPointCollection
'and here i draw the the star with the image from imagebrush
MyPolygon.Fill = imagebrush
但我不知道如何在图像控件中绘制它
我可以通过source属性把整张图片放到图片控件中
但那是当然不会把它画成星星
有没有办法在图像控件中绘制多边形?
【问题讨论】:
标签: .net wpf vb.net image polygon