In the previous article, I talked about how to add text watermarks to images Uploaded By C #. This section describes how to add translucent image watermarks. Parameter: http://hi.baidu.com/1987raymond/blog/item/017a6a4ee9a8ca01b2de0543
. Html
The following is the implementation of the ImageWatermarkPainter class:
Using System;Using System. Text;Using System. IO;Using System. Drawing;Using System. Drawing. Imaging;
Namespace Juice. Common. Drawing{///
The style code is as follows:Java references:Dialig Dialog = New Dialog (context, R.style.theme_dialog);View view = view.inflate (context, r.layout.test_layout, null);Dialog.setcontentview (view);android dialog set full screen translucent background color
First, Description: The project was written in 2012, and it was boring during college. The program is based on MFC, at that time the initial contact development many things are not very good (code specification, efficiency, etc.), after work also no longer use MFC, and individuals are not optimistic about the future of MFC, so there is no longer to maintain the changes. Open it up today, just for beginners to learn. The main techniques used are: MFC control self-painting, GDI double-buffered dra
For transparent backgrounds, including backgrounds and background colors (compatible with browsers such as Ie,ff,op)I. Full transparency of the background. bg{background:transparent}Second, background translucentHere to be divided into two Div, a separate background transparency, the other one put content margin-top:-33px; Use this method to overlay text on a transparent background image.Css:. bg{width:1000px; height:33px; background-color: #fffff; Background-image:url (img.jpg); Filter:alpha (o
1. Effect and Function descriptionHover event making product picture mouse slide over picture translucent, title text sliding from left to right animation move show hidden2. Principle of realizationFirst the effect is hidden, and then define a pseudo-class to trigger all the effect, next when the pseudo-class trigger will have a traversal stop all the effect, the new trigger effect is the title from the left fade and the background color changes, when
Photoshop quickly makes a translucent jade icon . Make jade material is the most important color and light sense, color to mellow, light sense to be transparent, so the high light part is indispensable, but also should pay attention to reflect the backlight area as well as the shadow of the processing, so combined can fully show the luster of the jade, and the three-dimensional full.
Final effect
1. First, create a new canvas, set the ba
This chapter describes how to click a button to achieve a pop-up center window, and this window with a translucent mask layer effect, this effect is more popular now, of course, there are more complex implementation, of course, the effect is also more gorgeous, the following introduction of the code can be simple to achieve this sister-in-law.
The code is as follows:
Copy Code code as follows:
The above code to achieve our requirem
Transparent | source code VB. NET writes a picture processing component, uses in the ASP to process the picture, the scale picture, proportional scaling, has the fixed proportion background the scaling, plus the translucent logo small icon and so on function.
Dimage.vb
Imports System
Imports System.Drawing
Public Class Dimage
#Region "COM GUIDs"
' These GUIDs provide the COM identity of the class and its COM interface.
' If you change them, existi
how Photoshop makes an translucent pink bubble
Final effect
1, a new 800 * 600 pixel file, select the Gradient tool, color settings such as the picture, from top to bottom pull linear gradient as the background.
2. Create a new group, and use the elliptical marquee tool to pull out the positive circle selections shown in the following illustration to add a layer mask to the group.
3, create a new lay
Photoshop makes beautiful translucent flowers
The final effect figure is as follows.
1. Create a new 1024 * 768 pixel document in Photoshop, select the Gradient tool, color settings like Figure 1, and then pull out the radial gradient shown in Figure 2 from the center to the corners as the background.
Figure 1
Figure 2
2, now began to make petals. Create a new group, use a pen to tick the outline of the first p
A few days ago a friend who made web design asked me this question: how to achieve the translucent effect of the image through CSS, and can be supported on both IE and Mozilla. Here are my methods to share with you.
The following illustration is a picture transparency effect implemented through CSS
This effect works on both IE and Mozilla browsers, with the following code
this.filters.alpha.opacity=100 "onmouseout=" this.style.mozopacity=0.5;
The default nine Sudoku picture arrangement effect, when the mouse hovers over the picture, will drop a translucent mask from the top of the picture
At the same time there are some text introduction
How to use:
1, the head of the CSS style into your Web page2, copy the code part to your Web page before the end of the place can be(JS, picture using absolute path, do not recommend modification)
Copy Code code as follows:
$ (function
This example for you to share the Objective-c translucent navigation of the specific implementation code for your reference, the specific contents are as follows
#define KSCREENWIDTH [[UIScreen mainscreen] bounds].size.width #define Kscreenheight [[UIScreen mainscreen] bounds]. Size.Height #import "RSwenNav.h" @implementation Rswennav {Uivisualeffectview *effectview;}-(Instancetype) Initwith
Frame: (cgrect) frame{self=[super Initwithframe:fram
Mozilla is a small, fast web browser. It is a preview of the next generation product technology for Netscape Browser, fully compliant with modern standards, and supports HTML 4.0,xml,css,dom. Mozilla's interface uses a standard browser-like appearance, it also contains a number of practical features, such as blocking the Web page pop-up window, multiple browsing window, in a single window to display multiple pages.
v1.8 ALPHA3 new Features:-Users can remove CSS;-click the Ctrl+click/middle cli
I. Overview
The application of GDI + makes the graphic image programming easier, this paper takes a dialog-based clock program as an example, calls the *.png picture to implement the translucent gradient window in the VC6.0, the program realizes both the pointer and the digital clock display mode. The window implements a semitransparent gradient window, drag the window without moving the rectangle, hide the Taskbar form button, and so on.
The effect
div height.The following JS code is used to set the change in background transparency when the mouse points and leaves the button:$ ("Button3"). onmouseover = Passerby_move;$ ("Button3"). onmouseout = Passerby_out;function Passerby_out () {$ ("Button3"). Style.background = "Rgba (255, 251, 240, 0.3)";}function Passerby_move () {$ ("Button3"). Style.background = "Rgba (255, 251, 240, 0.5)";}PS: Almost forgot that the $ here is set by itself, not jquery, the code is as follows:$=function (ID) {re
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.