function.imagick-frameimage.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 177 行

HTML
177
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Adds a simulated three-dimensional border</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="function.imagick-flopimage.html">Imagick::flopImage</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagick-fximage.html">Imagick::fxImage</a></div> <div class="up"><a href="class.imagick.html">The Imagick class</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.imagick-frameimage" class="refentry"> <div class="refnamediv">  <h1 class="refname">Imagick::frameImage</h1>  <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">Imagick::frameImage</span> &mdash; <span class="dc-title">Adds a simulated three-dimensional border</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">bool</span> <span class="methodname"><b><b>Imagick::frameImage</b></b></span>    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <tt class="parameter">$matte_color</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$width</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$height</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$inner_bevel</tt></span>   , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$outer_bevel</tt></span>   )</div>  <div class="warning"><b class="warning">Warning</b><p class="simpara">This function iscurrently not documented; only its argument list is available.</p></div>  <p class="para">   Adds a simulated three-dimensional border around the image.   The width and height specify the border width of the vertical   and horizontal sides of the frame.  The inner and outer   bevels indicate the width of the inner and outer shadows of   the frame.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">matte_color</tt></i></span>     <dd>      <p class="para">      ImagickPixel object or a string representing the matte color      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">width</tt></i></span>     <dd>      <p class="para">      The width of the border      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">height</tt></i></span>     <dd>      <p class="para">      The height of the border      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">inner_bevel</tt></i></span>     <dd>      <p class="para">      The inner bevel width      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">outer_bevel</tt></i></span>     <dd>      <p class="para">      The outer bevel width      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>TRUE</tt></b> on success.  </p> </div> <div class="refsect1 errors">  <h3 class="title">Errors/Exceptions</h3>  <p class="para">   Throws ImagickException on error.  </p> </div> <div class="refsect1 changelog">  <h3 class="title">ChangeLog</h3>  <p class="para">   <table class="informaltable">    <colgroup>     <thead valign="middle">      <tr valign="middle">       <th colspan="1">Version</th>       <th colspan="1">Description</th>      </tr>     </thead>     <tbody valign="middle" class="tbody">      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">2.1.0</td>       <td colspan="1" rowspan="1" align="left">        Now allows a string representing the color as the first parameter.        Previous versions allow only an ImagickPixel object.       </td>      </tr>     </tbody>    </colgroup>   </table>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imagick-flopimage.html">Imagick::flopImage</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagick-fximage.html">Imagick::fxImage</a></div> <div class="up"><a href="class.imagick.html">The Imagick class</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?