pollita         Sat Jan 25 20:34:13 2003 EDT

  Added files:                 
    /phpdoc/en/reference/image/functions        imagecolorallocatealpha.xml 
  Log:
  New function.
  
  

Index: phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml
+++ phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
 <refentry id="function.imagecolorallocatealpha">
  <refnamediv>
   <refname>imagecolorallocatealpha</refname>
   <refpurpose>Allocate a color for an image</refpurpose>
  </refnamediv>
  <refsect1>
   <title>Description</title>
    <methodsynopsis>
     <type>int</type><methodname>imagecolorallocatealpha</methodname>
     <methodparam><type>resource</type><parameter>image</parameter></methodparam>
     <methodparam><type>int</type><parameter>red</parameter></methodparam>
     <methodparam><type>int</type><parameter>green</parameter></methodparam>
     <methodparam><type>int</type><parameter>blue</parameter></methodparam>
     <methodparam><type>int</type><parameter>alpha</parameter></methodparam>
    </methodsynopsis>
   <para>
    <function>imagecolorallocatealpha</function> behaves identically to 
    <function>imagecolorallocate</function> with the addition of the transparency
    parameter <parameter>alpha</parameter> which may have a value between 
    <literal>0</literal> and <literal>127</literal>.  <literal>0</literal>
    indicates completely opaque while <literal>127</literal> indicates
    completely transparent.
   </para>
   <para>
    Returns &false; if the allocation failed.
   </para>
  </refsect1>
 </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to