reference/image/functions/imagesetstyle.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagesetstyle</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
13
<methodparam><type>array</type><parameter>style</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -32,6 +32,7 @@
32
32
An array of pixel colors. You can use the
33
33
<constant>IMG_COLOR_TRANSPARENT</constant> constant to add a
34
34
transparent pixel.
35
+
Note that <parameter>style</parameter> must not be an empty <type>array</type>.
35
36
</para>
36
37
</listitem>
37
38
</varlistentry>
...
...
@@ -44,6 +45,7 @@
44
45
&return.success;
45
46
</para>
46
47
</refsect1>
48
+

47
49
<refsect1 role="examples">
48
50
&reftitle.examples;
49
51
<para>
...
...
@@ -91,15 +93,12 @@ imagedestroy($im);
91
93
</refsect1>
92
94
<refsect1 role="seealso">
93
95
&reftitle.seealso;
94
-
<para>
95
-
<simplelist>
96
-
<member><function>imagesetbrush</function></member>
97
-
<member><function>imageline</function></member>
98
-
</simplelist>
99
-
</para>
96
+
<simplelist>
97
+
<member><function>imagesetbrush</function></member>
98
+
<member><function>imageline</function></member>
99
+
</simplelist>
100
100
</refsect1>
101
101
</refentry>
102
-

103
102
<!-- Keep this comment at the end of the file
104
103
Local variables:
105
104
mode: sgml
106
105