reference/imagick/imagickdraw/setgravity.xml
0f49e97eebd971ba0468bc1b7c6265fd457f60c8
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>bool</type><methodname>ImagickDraw::setGravity</methodname>
12
+
<modifier>public</modifier> <type>bool</type><methodname>ImagickDraw::setGravity</methodname>
13
13
<methodparam><type>int</type><parameter>gravity</parameter></methodparam>
14
14
</methodsynopsis>
15
15
&warn.undocumented.func;
...
...
@@ -26,7 +26,8 @@
26
26
<term><parameter>gravity</parameter></term>
27
27
<listitem>
28
28
<para>
29
-
GRAVITY_ constant
29
+
One of the <link linkend="imagick.constants.gravity">GRAVITY</link> constant
30
+
(<literal>imagick::GRAVITY_*</literal>).
30
31
</para>
31
32
</listitem>
32
33
</varlistentry>
...
...
@@ -41,13 +42,11 @@
41
42
</para>
42
43
</refsect1>
43
44

44
-

45
-

46
45
<refsect1 role="examples">
47
46
&reftitle.examples;
48
47
<para>
49
48
<example>
50
-
<title> <function>ImagickDraw::setGravity</function></title>
49
+
<title><function>ImagickDraw::setGravity</function> example</title>
51
50
<programlisting role="php">
52
51
<![CDATA[
53
52
<?php
54
53