📄 confettireadme.txt
字号:
Confetti.java -- Confetti generator (ie, colored snow =) )
To use:
<APPLET NAME="Confetti" CODE="Confetti.class" WIDTH="400" HEIGHT="300" ALIGN="BOTTOM">
<PARAM NAME="red" VALUE="500">
<PARAM NAME="blue" VALUE="250">
<PARAM NAME="yellow" VALUE="750">
<PARAM NAME="back" VALUE="mypicture.jpg">
</APPLET>
Accepted colors:
red
green
blue
yellow
cyan
magenta
orange
pink
white
lightGray
gray
darkGray
black
****************More detailed instructions******************
The WIDTH and HEIGHT should be set to the same size of the image you want
to confetti-ize. If not, your image will be stretched/shrunk to fit
within the applet, and may cause some distortion!
The PARAM "back" is the background image - what you want confetti to
appear over. The applet will expect to find this image file in the same
directory as the Confetti.class file. GIF and JPG are both supported.
The other parameters are colors -- Which color, and how many pieces of
that color you want falling. You can mix and match as few or many of them
as you wish, at whatever amounts you want, to achieve the desired effect.
** more optional PARAM tags which have just been added:
pixSize = xxx Specify the size of the confetti. If omitted, defaults
to a size of 2.
frame = filename.ext Specify a frame to place on the foreground of the
image -- Will show in front of everything else, can be used as a frame,
etc. Be sure to have transparency set on it so the rest of the applet
can show through! Also, this image will be stretched/shrunken to fit the
applet size as well.
delay = xxx Delay time between frames. Default=100.
xMin
xMax
yMin
yMax = xxx Control animation distance per frame.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -