如何在不清除图像图形的情况下清除FillEllipse [英] How do I clear a FillEllipse without clearin the graphics of my image

查看:72
本文介绍了如何在不清除图像图形的情况下清除FillEllipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含图像和一些绘制椭圆的图片框。虽然通过椭圆的线程增加了椭圆的alpha值,但是当胎面离开椭圆范围时,我不能改变alpha值,因为它会将其绘制过来。如何在不触及图像中任何其他内容的情况下仅擦除椭圆。

图像链接 image1 image2


我的代码

I have a picture box which contains an image and some drawn ellipses. while a thread pass by the ellipses increase the alpha of the ellipse but when the tread leaves the ellipse range i can''t change the alpha value because it paints it over. how can I erase only the ellipse without touching anything else in the image.
image linksimage1 image2

my code

展开 | 选择 | Wrap | 行号

推荐答案

不要继续绘制椭圆?



我有一个包含图像和一些绘制椭圆的图片框。虽然通过椭圆的线程增加了椭圆的alpha值,但是当胎面离开椭圆范围时,我不能改变alpha值,因为它会将其绘制过来。如何在不触及图像中任何其他内容的情况下仅擦除椭圆。

图像链接 image1 image2


我的代码

I have a picture box which contains an image and some drawn ellipses. while a thread pass by the ellipses increase the alpha of the ellipse but when the tread leaves the ellipse range i can''t change the alpha value because it paints it over. how can I erase only the ellipse without touching anything else in the image.
image linksimage1 image2

my code

展开 | 选择 | Wrap | 行号



不要继续画画elipse?
Don''t keep drawing the elipse?



我如何处置它?

How can i dispose it?


这篇关于如何在不清除图像图形的情况下清除FillEllipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆