1
0
mirror of https://github.com/php/doc-tr.git synced 2026-03-24 15:22:23 +01:00
Files
archived-doc-tr/reference/image/functions/imagefilledrectangle.xml
2021-05-25 12:23:28 +03:00

152 lines
3.8 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 593ea510e853ff034e03f78a4be0daa41661c9d4 Maintainer: haluk Status: ready -->
<refentry xml:id="function.imagefilledrectangle" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagefilledrectangle</refname>
<refpurpose>İçi dolu bir dikdörtgen çizer</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>imagefilledrectangle</methodname>
<methodparam><type>GdImage</type><parameter>görüntü</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>renk</parameter></methodparam>
</methodsynopsis>
<para>
Belirtiren <parameter>görüntü</parameter> üzerinde başlangıç ve bitiş
koordinatları verilen dikdörtgeni <parameter>renk</parameter> ile boyayarak
çizer. Resmin sol üst köşesinin koordinatları 0,0'dır.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&gd.image.description;
<varlistentry>
<term><parameter>x1</parameter></term>
<listitem>
<para>
1. noktanın X konumu
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>y1</parameter></term>
<listitem>
<para>
1. noktanın Y konumu.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>x2</parameter></term>
<listitem>
<para>
2. noktanın X konumu
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>y2</parameter></term>
<listitem>
<para>
2. noktanın Y konumu
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>renk</parameter></term>
<listitem>
<para>
Dolgu rengi. &gd.identifier.color;
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</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> örneği</title>
<programlisting role="php">
<![CDATA[
<?php
// Bir tuval oluşturalım
$im = imagecreatetruecolor(55, 30);
$beyaz = imagecolorallocate($im, 255, 255, 255);
// Beyaz bir dikdörtgen çizelim
imagefilledrectangle($im, 4, 4, 50, 25, $beyaz);
// görüntüyü kaydedelim
imagepng($im, './beyazdikdortgenresmi.png');
imagedestroy($im);
?>
]]>
</programlisting>
&example.outputs.similar;
<mediaobject>
<alt>Örnek çıktısı: 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
-->