com doc/ja: Clarify types and meaning of interlact param to imageinterlace(): reference/image/functions/imageinterlace.xml
| From: | Yoshinari Takaoka | Date: | Thu, 18 Mar 2021 17:07:40 +0000 |
| Subject: | com doc/ja: Clarify types and meaning of interlact param to imageinterlace(): reference/image/functions/imageinterlace.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6255@lists.php.net to get a copy of this message | ||
Commit: 6973eafcdb10f7495f3c7ba8c949e9ecc86297cc
Author: Yoshinari Takaoka <mumumu@mumumu.org> Fri, 19 Mar 2021 02:07:40 +0900
Parents: 8c734867b45e5b16fdcab7ae5d09bca89f40f2a9
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=6973eafcdb10f7495f3c7ba8c949e9ecc86297cc
Log:
Clarify types and meaning of interlact param to imageinterlace()
Changed paths:
M reference/image/functions/imageinterlace.xml
Diff:
diff --git a/reference/image/functions/imageinterlace.xml
b/reference/image/functions/imageinterlace.xml
index 56f13ce15e..5c48613769 100644
--- a/reference/image/functions/imageinterlace.xml
+++ b/reference/image/functions/imageinterlace.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: hirokawa Status: ready
-->
+<!-- EN-Revision: c352a8f0a701804a3446203867bc40e1690800f4 Maintainer: hirokawa Status: ready
-->
+<!-- Credits: mumumu -->
<refentry xml:id="function.imageinterlace" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imageinterlace</refname>
@@ -11,7 +12,7 @@
<methodsynopsis>
<type>int</type><methodname>imageinterlace</methodname>
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>interlace</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type
class="union"><type>bool</type><type>null</type></type><parameter>interlace</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>imageinterlace</function> は、インターレースビットをon
@@ -31,8 +32,9 @@
<term><parameter>interlace</parameter></term>
<listitem>
<para>
- ゼロ以外の場合はインターレース画像となり、
- ゼロの場合はインターレースビットを off にします。
+ &true; の場合はインターレース画像となり、
+ &false; の場合はインターレースビットを off にします。
+ &null;
を渡すと、インターレースに関する振る舞いは変更されません。
</para>
</listitem>
</varlistentry>