在picturebox的透明面具。 [英] Transparent mask on picturebox.

查看:60
本文介绍了在picturebox的透明面具。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作专辑设计s / w。我有2个重叠的图片框。我的问题是如何使面具的白色部分完全透明,黑色部分半透明。我将这种类型的掩码放在1个图片框上。

I am working on album designing s/w. I have 2 overlapped pictureboxs. My problem is how to make white portion of mask as fully transparent and black portion semi transparent. I will put this type of mask on 1 picturebox.

推荐答案

你是否认为通过屏蔽图像,你的重叠图片框控件将变得透明并让你透视一个图片框到下面的一个?他们不这样做。如果图像是透明的,它将允许您透视...到图片框的背景颜色,但没有进一步。
Are you thinking that by masking the images, your overlapping picturebox controls will become transparent and allow you to see through one picturebox to the one below it? They don''t work that way. If the image is transparent it will allow you to see through... to the background color of the picturebox but no further.


你有没有看过Karizma s / w的专辑设计?在karizma中有2个重叠的图片框,在1个图片框上是透明的,在另一个图片框上是照片。它显示了背面图片框,其中包含照片。在我的s / w中,当我重叠两个图片框时,即使前面的图片框包含透明图像,我也看不到背面图片框。它显示了我已添加此图片框的面板的背景图像。怎么可能在c#.net?
Have u seen Karizma s/w for album designing? In karizma there is 2 overlapped pictureboxs, mask which is transparent on 1 picturebox and photo is on another. It shows the back side picturebox, which contains photo. In my s/w ,when i overlap the two picturebox, i can''t see the back side picturebox even the front picturebox contains transparent image. It shows background image of panel on which i have added this pictureboxes. How it is possible in c#.net?



你有没有看过Karizma s / w的专辑设计?
Have u seen Karizma s/w for album designing?



编号而且每个谷歌都需要我一些FreeSoftwareTopShareDownload类型的网站。由于我不是病毒的粉丝,我不打算下载它。


从你描述的内容来看,他们没有使用基本的Windows.Forms.Controls.PictureBox控件。他们为他们的需求创建了一个自定义控件。


基本框架中也没有LEDnumber或DashSpeedometerGuage。但你可以制作它们。

No. And every google for it takes me to some FreeSoftwareTopShareDownload kind of site. Since I''m not a fan of viruses I''m not going to download it.

From what you describe they are not using a basic Windows.Forms.Controls.PictureBox control. They created a custom control for their needs.

There is also no LEDnumber or DashSpeedometerGuage in the basic Framework. But you can make them.


这篇关于在picturebox的透明面具。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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