<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gmagick.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'gmagick.annotateimage.php',
    1 => 'Gmagick::annotateimage',
    2 => 'Annotates an image with text',
  ),
  'up' => 
  array (
    0 => 'class.gmagick.php',
    1 => 'Gmagick',
  ),
  'prev' => 
  array (
    0 => 'gmagick.addnoiseimage.php',
    1 => 'Gmagick::addnoiseimage',
  ),
  'next' => 
  array (
    0 => 'gmagick.blurimage.php',
    1 => 'Gmagick::blurimage',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gmagick/gmagick/annotateimage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gmagick.annotateimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Gmagick::annotateimage</h1>
  <p class="verinfo">(PECL gmagick &gt;= Unknown)</p><p class="refpurpose"><span class="refname">Gmagick::annotateimage</span> &mdash; <span class="dc-title">Annotates an image with text</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gmagick.annotateimage-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Gmagick::annotateimage</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="class.gmagickdraw.php" class="type GmagickDraw">GmagickDraw</a></span> <code class="parameter">$GmagickDraw</code></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">$x</code></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">$y</code></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">$angle</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$text</code></span><br>): <span class="type"><a href="class.gmagick.php" class="type Gmagick">Gmagick</a></span></div>

  <p class="simpara">
   Annotates an image with text.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-gmagick.annotateimage-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">GmagickDraw</code></dt>
    <dd>
     <span class="simpara">
      The <span class="classname"><a href="class.gmagickdraw.php" class="classname">GmagickDraw</a></span> object that contains settings for drawing the text.
     </span>
    </dd>
   
   
    <dt><code class="parameter">x</code></dt>
    <dd>
     <span class="simpara">
      Horizontal offset in pixels to the left of text.
     </span>
    </dd>
   
   
    <dt><code class="parameter">y</code></dt>
    <dd>
     <span class="simpara">
      Vertical offset in pixels to the baseline of text.
     </span>
    </dd>
   
   
    <dt><code class="parameter">angle</code></dt>
    <dd>
     <span class="simpara">
      The angle at which to write the text.
     </span>
    </dd>
   
   
    <dt><code class="parameter">text</code></dt>
    <dd>
     <span class="simpara">
      The string to draw.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gmagick.annotateimage-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   The <span class="classname"><a href="class.gmagick.php" class="classname">Gmagick</a></span> object with annotation made.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-gmagick.annotateimage-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="simpara">
   Throws an
<span class="classname"><strong class="classname">GmagickException</strong></span> on error.
  </p>
 </div>

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