mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 06:18:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.2 $ -->
|
|
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
|
|
<refentry id="function.swfgradient.addentry">
|
|
<refnamediv>
|
|
<refname>SWFGradient->addEntry</refname>
|
|
<refpurpose>Adds an entry to the gradient list.</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>void</type><methodname>swfgradient->addentry</methodname>
|
|
<methodparam><type>float</type><parameter>ratio</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 choice="opt"><type>int</type><parameter>a</parameter></methodparam>
|
|
</methodsynopsis>
|
|
&warn.experimental.func;
|
|
<para>
|
|
<function>swfgradient->addentry</function> adds an entry to the gradient list.
|
|
<parameter>ratio</parameter> is a number between 0 and 1 indicating where in
|
|
the gradient this color appears. Thou shalt add entries in order of increasing ratio.
|
|
</para>
|
|
<para>
|
|
<parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter>
|
|
is a color (RGB mode). Last parameter <parameter>a</parameter> is optional.
|
|
</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
|
|
-->
|