<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.ui.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'class.ui-draw-stroke.php',
    1 => 'UI\\Draw\\Stroke',
    2 => 'Draw Stroke',
  ),
  'up' => 
  array (
    0 => 'book.ui.php',
    1 => 'UI',
  ),
  'prev' => 
  array (
    0 => 'ui-draw-color.setchannel.php',
    1 => 'UI\\Draw\\Color::setChannel',
  ),
  'next' => 
  array (
    0 => 'ui-draw-stroke.construct.php',
    1 => 'UI\\Draw\\Stroke::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ui/ui.draw.stroke.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.ui-draw-stroke.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.ui-draw-stroke" class="reference">

 <h1 class="title">Draw Stroke</h1>
 

 <div class="partintro"><p class="verinfo">(UI 0.9.9)</p>


  <div class="section" id="ui-draw-stroke.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Holds the configuration for the Pen to perform a stroke
   </p>
  </div>


  <div class="section" id="ui-draw-stroke.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <span class="ooclass"><strong class="classname"></strong></span>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">UI\Draw\Stroke</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constructor */</div>
    <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.construct.php" class="methodname">__construct</a></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$cap</code><span class="initializer"> = UI\Draw\Line\Cap::Flat</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$join</code><span class="initializer"> = UI\Draw\Line\Join::Miter</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$thickness</code><span class="initializer"> = 1</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$miterLimit</code><span class="initializer"> = 10</span></span><br>)</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.getcap.php" class="methodname">getCap</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.getjoin.php" class="methodname">getJoin</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.getmiterlimit.php" class="methodname">getMiterLimit</a></span>(): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.getthickness.php" class="methodname">getThickness</a></span>(): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.setcap.php" class="methodname">setCap</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$cap</code></span>)</div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.setjoin.php" class="methodname">setJoin</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$join</code></span>)</div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.setmiterlimit.php" class="methodname">setMiterLimit</a></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$limit</code></span>)</div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="ui-draw-stroke.setthickness.php" class="methodname">setThickness</a></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$thickness</code></span>)</div>

   }</div>


  </div>

 </div>

 































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="ui-draw-stroke.construct.php">UI\Draw\Stroke::__construct</a> — Construct a new Stroke</li><li><a href="ui-draw-stroke.getcap.php">UI\Draw\Stroke::getCap</a> — Get Line Cap</li><li><a href="ui-draw-stroke.getjoin.php">UI\Draw\Stroke::getJoin</a> — Get Line Join</li><li><a href="ui-draw-stroke.getmiterlimit.php">UI\Draw\Stroke::getMiterLimit</a> — Get Miter Limit</li><li><a href="ui-draw-stroke.getthickness.php">UI\Draw\Stroke::getThickness</a> — Get Thickness</li><li><a href="ui-draw-stroke.setcap.php">UI\Draw\Stroke::setCap</a> — Set Line Cap</li><li><a href="ui-draw-stroke.setjoin.php">UI\Draw\Stroke::setJoin</a> — Set Line Join</li><li><a href="ui-draw-stroke.setmiterlimit.php">UI\Draw\Stroke::setMiterLimit</a> — Set Miter Limit</li><li><a href="ui-draw-stroke.setthickness.php">UI\Draw\Stroke::setThickness</a> — Set Thickness</li></ul>
</div>
<?php manual_footer($setup); ?>