📄 function.swfshape.addfill.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Adds a solid fill to the shape</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.swfshape.html">SWFShape</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swfshape.construct.html">SWFShape->__construct</a></div> <div class="up"><a href="class.swfshape.html">SWFShape</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.swfshape.addfill" class="refentry"> <div class="refnamediv"> <h1 class="refname">SWFShape->addFill</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">SWFShape->addFill</span> — <span class="dc-title">Adds a solid fill to the shape</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="classsynopsis"> <div class="ooclass"><a href="class.swfshape.html" class="classname">SWFShape</a></div> <div class="methodsynopsis dc-description"> <span class="type">SWFFill</span> <span class="methodname"><b><b>addFill</b></b></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 class="methodsynopsis dc-description"> <span class="type">SWFFill</span> <span class="methodname"><b><b>addFill</b></b></span> ( <span class="methodparam"><span class="type"><a href="class.swfbitmap.html" class="type SWFBitmap">SWFBitmap</a></span> <tt class="parameter">$bitmap</tt></span> [, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$flags</tt></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="type">SWFFill</span> <span class="methodname"><b><b>addFill</b></b></span> ( <span class="methodparam"><span class="type"><a href="class.swfgradient.html" class="type SWFGradient">SWFGradient</a></span> <tt class="parameter">$gradient</tt></span> [, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$flags</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>SWFShape->addFill()</b> adds a solid fill to the shape's list of fill styles. <b>SWFShape->addFill()</b> accepts three different types of arguments. </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> <p class="para"> The <i><tt class="parameter">bitmap</tt></i> argument is an <b>SWFBitmap()</b> object.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -