<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ps.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.ps-shading-pattern.php',
    1 => 'ps_shading_pattern',
    2 => 'Creates a pattern based on a shading',
  ),
  'up' => 
  array (
    0 => 'ref.ps.php',
    1 => 'PS Функції',
  ),
  'prev' => 
  array (
    0 => 'function.ps-shading.php',
    1 => 'ps_shading',
  ),
  'next' => 
  array (
    0 => 'function.ps-shfill.php',
    1 => 'ps_shfill',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ps/functions/ps-shading-pattern.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ps-shading-pattern" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_shading_pattern</h1>
  <p class="verinfo">(PECL ps &gt;= 1.3.0)</p><p class="refpurpose"><span class="refname">ps_shading_pattern</span> &mdash; <span class="dc-title">Creates a pattern based on a shading</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-shading-pattern-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ps_shading_pattern</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$psdoc</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$shadingid</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$optlist</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Creates a pattern based on a shading, which has to be created before with
   <span class="function"><a href="function.ps-shading.php" class="function">ps_shading()</a></span>. Shading patterns can be used like regular
   patterns.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ps-shading-pattern-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">psdoc</code></dt>
     <dd>
      <p class="para">
       Resource identifier of the postscript file
       as returned by <span class="function"><a href="function.ps-new.php" class="function">ps_new()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">shadingid</code></dt>
     <dd>
      <p class="para">
       The identifier of a shading previously created with
       <span class="function"><a href="function.ps-shading.php" class="function">ps_shading()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">optlist</code></dt>
     <dd>
      <p class="para">
       This argument is not currently used.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-shading-pattern-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   The identifier of the pattern  або <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> в разі помилки.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-shading-pattern-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ps-shading.php" class="function" rel="rdfs-seeAlso">ps_shading()</a> - Creates a shading for later use</span></li>
    <li><span class="function"><a href="function.ps-shfill.php" class="function" rel="rdfs-seeAlso">ps_shfill()</a> - Fills an area with a shading</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>