Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 7293

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set the shape to be used at the ends of lines</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harupage.sethorizontalscaling.html">HaruPage::setHorizontalScaling</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harupage.setlinejoin.html">HaruPage::setLineJoin</a></div>
 <div class="up"><a href="class.harupage.html">HaruPage</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="harupage.setlinecap" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HaruPage::setLineCap</h1>
  <p class="verinfo">(PECL haru &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruPage::setLineCap</span> &mdash; <span class="dc-title">Set the shape to be used at the ends of lines</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-harupage.setlinecap-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>HaruPage::setLineCap</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$cap</code></span>
   )</div>

  <p class="para rdfs-comment">
   Defines the shape to be used at the ends of lines.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-harupage.setlinecap-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">cap</code></em></span>
     <dd>

      <p class="para">
       Must be one of the following values:
       <ul class="simplelist">
        <li class="member">
         <strong><code>HaruPage::BUTT_END</code></strong> - the line is squared off at the endpoint of the path.
        </li>
        <li class="member">
         <strong><code>HaruPage::ROUND_END</code></strong> - the end of the line becomes a semicircle with center in the end point of the path.
        </li>
        <li class="member">
         <strong><code>HaruPage::PROJECTING_SCUARE_END</code></strong> - the line continues to the point that exceeds half of the stroke width the end point.
        </li>
       </ul>
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-harupage.setlinecap-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-harupage.setlinecap-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">Throws a <a href="class.haruexception.html" class="classname">HaruException</a> on error.</p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-harupage.setlinecap-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="methodname"><a href="harupage.getlinecap.html" class="methodname" rel="rdfs-seeAlso">HaruPage::getLineCap()</a> - Get the current line cap style</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harupage.sethorizontalscaling.html">HaruPage::setHorizontalScaling</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harupage.setlinejoin.html">HaruPage::setLineJoin</a></div>
 <div class="up"><a href="class.harupage.html">HaruPage</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>