📄 function.swfgradient.addentry.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Adds an entry to the gradient list</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.swfgradient.html">SWFGradient</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swfgradient.construct.html">SWFGradient->__construct</a></div> <div class="up"><a href="class.swfgradient.html">SWFGradient</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.swfgradient.addentry" class="refentry"> <div class="refnamediv"> <h1 class="refname">SWFGradient->addEntry</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">SWFGradient->addEntry</span> — <span class="dc-title">Adds an entry to the gradient list</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="classsynopsis"> <div class="ooclass"><a href="class.swfgradient.html" class="classname">SWFGradient</a></div> <div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><b>addEntry</b></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ratio</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$red</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$green</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$blue</tt></span> [, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$a</tt></span> ] )</div> </div> <div class="warning"><b class="warning">Warning</b><p class="simpara">This function is<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, andsurrounding documentation may change without notice in a future release of PHP.This function should be used at your own risk.</p></div> <p class="para"> <b>swfgradient->addentry()</b> adds an entry to the gradient list. <i><tt class="parameter">ratio</tt></i> is a number between 0 and 1 indicating where in the gradient this color appears. Thou shalt add entries in order of increasing ratio. </p> <p class="para"> <i><tt class="parameter">red</tt></i>, <i><tt class="parameter">green</tt></i>, <i><tt class="parameter">blue</tt></i> is a color (RGB mode). Last parameter <i><tt class="parameter">a</tt></i> is optional. </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.swfgradient.html">SWFGradient</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swfgradient.construct.html">SWFGradient->__construct</a></div> <div class="up"><a href="class.swfgradient.html">SWFGradient</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -