mirror of
https://github.com/php/doc-ja.git
synced 2026-03-25 23:52:16 +01:00
## 翻訳内容 ### reference/image(34件)— return type アノテーション修正 - reference/image/functions/imageresolution.xml — 戻り値型を `array|bool` から `array|true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagealphablending.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imageantialias.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagearc.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagechar.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecharup.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecolordeallocate.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecolormatch.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecopy.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecopymerge.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecopymergegray.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecopyresampled.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagecopyresized.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagedashedline.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagedestroy.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imageellipse.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagefill.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagefilledarc.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagefilledellipse.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagefilledrectangle.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagefilltoborder.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imageflip.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagegammacorrect.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagelayereffect.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imageline.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagerectangle.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagesavealpha.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagesetbrush.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagesetclip.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagesetpixel.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagesetthickness.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagesettile.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagestring.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 - reference/image/functions/imagestringup.xml — 戻り値型を `bool` から `true` に修正 1. php/doc-en@fcd9214 ### 独立ファイル - reference/array/functions/array-multisort.xml — 戻り値型を `bool` から `true` に変更、8.5.0 changelog 追加 1. php/doc-en@5b76466 - reference/fileinfo/functions/finfo-close.xml — 戻り値型を `true` に変更、NOP化・非推奨の changelog 追加 1. php/doc-en@fcd9214 2. php/doc-en@34bd6f0 3. php/doc-en@5b76466 - reference/ftp/functions/ftp-set-option.xml — 戻り値型を `true` に変更、errors セクション追加、8.5.0 changelog 追加 1. php/doc-en@fcd9214 2. php/doc-en@5b76466 - reference/sem/functions/shm-detach.xml — 戻り値型を `bool` から `true` に変更、8.5.0 changelog 追加 1. php/doc-en@5b76466 - reference/pcntl/functions/pcntl-exec.xml — 戻り値型を `bool` から `false` に修正、エンティティエンコーディング修正 1. php/doc-en@fcd9214 - reference/libxml/functions/libxml-set-external-entity-loader.xml — 戻り値型を `bool` から `true` に変更、8.5.0 changelog 追加 1. php/doc-en@5b76466
151 lines
3.9 KiB
XML
151 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: fcd9214294f88b05862a538c6dd94c7872420139 Maintainer: hirokawa Status: ready -->
|
|
<!-- CREDITS: shimooka -->
|
|
<refentry xml:id="function.imagefilledrectangle" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>imagefilledrectangle</refname>
|
|
<refpurpose>塗りつぶした矩形を描画する</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>true</type><methodname>imagefilledrectangle</methodname>
|
|
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>x1</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>y1</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>x2</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>y2</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
色 <parameter>color</parameter> で塗りつぶした矩形を、
|
|
指定した <parameter>image</parameter> 上に作成します。
|
|
開始位置と終了位置を指定します。0, 0
|
|
が画像の左上角を表します。
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
&gd.image.description;
|
|
<varlistentry>
|
|
<term><parameter>x1</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
開始位置の x 座標。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>y1</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
開始位置の y 座標。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>x2</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
終了位置の x 座標。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>y2</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
終了位置の y 座標。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>color</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
塗りつぶし色。&gd.identifier.color;
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.true.always;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="changelog">
|
|
&reftitle.changelog;
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
&gd.changelog.image-param;
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title><function>imagefilledrectangle</function> の例</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
// 55x30 の画像を作成します
|
|
$im = imagecreatetruecolor(55, 30);
|
|
$white = imagecolorallocate($im, 255, 255, 255);
|
|
|
|
// 白の矩形を描画します
|
|
imagefilledrectangle($im, 4, 4, 50, 25, $white);
|
|
|
|
// 画像を保存します
|
|
imagepng($im, './imagefilledrectangle.png');
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
&example.outputs.similar;
|
|
<mediaobject>
|
|
<alt>出力例 : imagefilledrectangle()</alt>
|
|
<imageobject>
|
|
<imagedata fileref="en/reference/image/figures/imagefilledrectangle.png"/>
|
|
</imageobject>
|
|
</mediaobject>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|