, 2 for radial, and 3 for the rectangle. For example, we can generally write style=1.(4) "StartX" and "Starty" are the x and Y coordinates that represent the beginning of the gradient effect, (coordinates should know what it is) generally we set it to Startx=0, starty=0 (so that is, the transparency effect is to start from the upper left corner of the picture. )(5) "Finishx" and "finishy" of course, this is to represent the gradient effect at the end of the horizontal ordinate, here is the key,
Tip: You can modify some of the code before running
A small window pops up in a Web page, and the page background becomes translucent
Tip: You can modify some of the code before running
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
complete code for your reference: (The following number I am assuming that the picture height and width are 100, 200 pixels respectively)
Alpha (opacity=25, finishopacity=50, style=1, startx=0, Starty=1, finishx=200, finishy=100)
4:ok, what you should do is replace the pesky question mark with the value you want, set the parameters, and click OK. The steps to set up this is done, but it does not mean we finished, we have to give this effect to the picture. The steps to use are described below
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
Php functions for reading files in folders and folders
/**
* Functions used to read folders and files
* Edit: bbs.it-home.org
*
*/
Function GetFoldersAndFiles ($ resourceType, $ currentFolder)
{
// Map the virtual path to the local server path.
$ SServerDir = ServerMapFolder ($ resour
All files and folders cannot be displayed, and hidden files and folders cannot be displayed.
Today, my computer at the company is poisoned. As usual, set the folder option to display all files and files. But today, I am not obedient. I chose "show all files and folders" as the folder option. However, after I press OK, I still cannot hide the file. I will go bac
PHP site After the installation of the root directory has 3 folders, respectively, install, statics, System. PHP Daniel can be described in detail under these 3 folders role
This post was last edited by truezp123 on 2014-06-12 19:44:56
I am a novice php, PHP is not very familiar with the PHP site after the installation of the root directory installed, statics, System, three
/**
* functions to read folders and files in them
* edit:bbs.it-home.org
*
*/
function Getfoldersandfiles ($resourceType, $currentFolder)
{
Map the virtual path to the local server path.
$sServerDir = Servermapfolder ($resourceType, $currentFolder, ' getfoldersandfiles ');
Arrays that'll hold the folders and files names.
$aFolders = Array ();
$aFiles =
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.