vrana Fri Nov 12 08:35:19 2004 EDT
Modified files: /phpdoc/en/reference/ming/functions swfshape.addfill.xml Log: Returns SWFFill http://cvs.php.net/diff.php/phpdoc/en/reference/ming/functions/swfshape.addfill.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/ming/functions/swfshape.addfill.xml diff -u phpdoc/en/reference/ming/functions/swfshape.addfill.xml:1.5 phpdoc/en/reference/ming/functions/swfshape.addfill.xml:1.6 --- phpdoc/en/reference/ming/functions/swfshape.addfill.xml:1.5 Wed Sep 22 04:19:30 2004 +++ phpdoc/en/reference/ming/functions/swfshape.addfill.xml Fri Nov 12 08:35:16 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfshape.addfill"> <refnamediv> @@ -9,28 +9,26 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>void</type><methodname>swfshape->addfill</methodname> + <type>SWFFill</type><methodname>SWFShape->addFill</methodname> <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; <methodsynopsis> - <type>void</type><methodname>swfshape->addfill</methodname> - <methodparam><type>SWFbitmap</type><parameter>bitmap</parameter></methodparam> + <type>SWFFill</type><methodname>SWFShape->addFill</methodname> + <methodparam><type>SWFBitmap</type><parameter>bitmap</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <methodsynopsis> - <type>void</type><methodname>swfshape->addfill</methodname> + <type>SWFFill</type><methodname>SWFShape->addFill</methodname> <methodparam><type>SWFGradient</type><parameter>gradient</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> - <function>swfshape->addfill</function> adds a solid fill to the shape's list - of fill styles. <function>swfshape->addfill</function> accepts three different + <function>SWFShape->addFill</function> adds a solid fill to the shape's list + of fill styles. <function>SWFShape->addFill</function> accepts three different types of arguments. </para> <para> @@ -38,35 +36,32 @@ is a color (RGB mode). Last parameter <parameter>a</parameter> is optional. </para> <para> - The <parameter>bitmap</parameter> argument is an <function>swfbitmap</function> object. + The <parameter>bitmap</parameter> argument is an <function>SWFBitmap</function> object. The <parameter>flags</parameter> argument can be one - of the following values : SWFFILL_CLIPPED_BITMAP or SWFFILL_TILED_BITMAP. - Default is SWFFILL_TILED_BITMAP. I think. + of the following values: SWFFILL_CLIPPED_BITMAP, SWFFILL_TILED_BITMAP, + SWFFILL_LINEAR_GRADIENT or SWFFILL_RADIAL_GRADIENT. Default is + SWFFILL_TILED_BITMAP for SWFBitmap and SWFFILL_LINEAR_GRADIENT for + SWFGradient. </para> <para> - The <parameter>gradient</parameter> argument is an <function>swfgradient</function> + The <parameter>gradient</parameter> argument is an <function>SWFGradient</function> object. The flags argument can be one of the following values : SWFFILL_RADIAL_GRADIENT or SWFFILL_LINEAR_GRADIENT. Default is SWFFILL_LINEAR_GRADIENT. I'm sure about this one. Really. </para> <para> - <function>swfshape->addfill</function> returns an <function>swffill</function> - object for use with the <function>swfshape->setleftfill</function> - and <function>swfshape->setrightfill</function> functions + <function>SWFShape->addFill</function> returns an <function>SWFFill</function> + object for use with the <function>SWFShape->setLeftFill</function> + and <function>SWFShape->setRightFill</function> functions described below. </para> - <simpara> - See also - <function>swfshape->setleftfill</function> and - <function>swfshape->setrightfill</function>. - </simpara> <para> This simple example will draw a frame on a bitmap. Ah, here's another buglet in the flash player- it doesn't seem to care about the second shape's bitmap's transformation in a morph. According to spec, the bitmap should stretch along with the shape in this example.. <example> - <title><function>swfshape->addfill</function> example</title> + <title><function>SWFShape->addFill</function> example</title> <programlisting role="php"> <![CDATA[ <?php @@ -120,6 +115,11 @@ </programlisting> </example> </para> + <simpara> + See also + <function>SWFShape->setLeftFill</function> and + <function>SWFShape->setRightFill</function>. + </simpara> </refsect1> </refentry>