reference/imagick/imagickpixel/getcolorvaluequantum.xml
1ef9c7a76700b3e72844050d75e6ed1b870f9ca7
...
...
@@ -4,14 +4,14 @@
4
4
<refentry xml:id="imagickpixel.getcolorvaluequantum" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
<refnamediv>
6
6
<refname>ImagickPixel::getColorValueQuantum</refname>
7
-
<refpurpose>Description</refpurpose>
7
+
<refpurpose>Gets the quantum value of a color in the ImagickPixel</refpurpose>
8
8
</refnamediv>
9
9

10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<modifier>public</modifier> <type>mixed</type><methodname>ImagickPixel::getColorValueQuantum</methodname>
14
-
<void />
13
+
<modifier>public</modifier> <type class="union"><type>int</type><type>float</type></type><methodname>ImagickPixel::getColorValueQuantum</methodname>
14
+
<methodparam><type>int</type><parameter>color</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Gets the quantum value of a color in the ImagickPixel. Return value is a float if ImageMagick was compiled with HDRI, otherwise an integer.
18
18