# Panel:DrawTexturedRect

- **Ortam:** İstemci, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Panel:DrawTexturedRect
- **Çeviri tarihi:** 2025-09-08

```lua
Panel:DrawTexturedRect()
```

## Açıklama

Bu metodun çağrıldığı panel nesnesini dolduracak şekilde dokulu bir dörtgen çizer. Doku, [surface.SetTexture](https://gmod.tr/wiki/surface.SetTexture) veya [surface.SetMaterial](https://gmod.tr/wiki/surface.SetMaterial) kullanılarak ayarlanır. Bu fonksiyon, [surface.DrawTexturedRect](https://gmod.tr/wiki/surface.DrawTexturedRect) için bir kısayol olarak, yalnızca nesnenin [PANEL:Paint](https://gmod.tr/wiki/PANEL:Paint) veya [PANEL:PaintOver](https://gmod.tr/wiki/PANEL:PaintOver) hook'ları içerisinde çağrılmalıdır.

> **NOT:** Bu, 2 boyutlu bir çizim ortamı (2D rendering context) gerektiren bir render fonksiyonudur.
>
> Bu, fonksiyonun yalnızca [2d Rendering Hooks](https://gmod.tr/wiki/2D_Rendering_Hooks) içerisinde çalışacağı anlamına gelir.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/Panel:DrawTexturedRect
