# Panel:DrawOutlinedRect

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

```lua
Panel:DrawOutlinedRect()
```

## Açıklama

Bu metodun çağrıldığı panel nesnesinin boyutunda, 1 piksel kenarlık genişliğine sahip içi boş bir dikdörtgen çizer. Kenarlık rengi [surface.SetDrawColor](https://gmod.tr/wiki/surface.SetDrawColor) kullanılarak ayarlanır. Bu, [surface.DrawOutlinedRect](https://gmod.tr/wiki/surface.DrawOutlinedRect) 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) kancaları içinde çağrılmalıdır.

> **NOT:** Bu, 2D çizim bağlamı gerektiren bir çizim fonksiyonudur.
>
> Bu, yalnızca [2D Çizim Kancaları (2D Rendering Hooks)](https://gmod.tr/wiki/2D_Rendering_Hooks) içinde ç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:DrawOutlinedRect
