# MarkupObject

- **İngilizce aslı:** https://wiki.facepunch.com/gmod/MarkupObject
- **Çeviri tarihi:** 2025-09-08

Daha sonraki render işlemleri için ayrıştırılmış işaretleme (markup) içeren nesne. [markup.Parse](https://gmod.tr/wiki/markup.Parse) ile oluşturulur.

## Metotlar

MarkupObject:[Draw](https://gmod.tr/wiki/MarkupObject:Draw)( [number](https://gmod.tr/wiki/number) xOffset, [number](https://gmod.tr/wiki/number) yOffset, [number](https://gmod.tr/wiki/number) xAlign = TEXT_ALIGN_LEFT, [number](https://gmod.tr/wiki/number) yAlign = TEXT_ALIGN_TOP, [number](https://gmod.tr/wiki/number) alphaoverride = 255, [number](https://gmod.tr/wiki/number) textAlign = TEXT_ALIGN_LEFT )

Hesaplanmış markup nesnesini ekrana çizer. Bkz. markup.Parse.

[number](https://gmod.tr/wiki/number) MarkupObject:[GetHeight](https://gmod.tr/wiki/MarkupObject:GetHeight)()

Hesaplanmış markup nesnesinin yüksekliğini alır.

[number](https://gmod.tr/wiki/number) MarkupObject:[GetMaxWidth](https://gmod.tr/wiki/MarkupObject:GetMaxWidth)()

Bu markup nesnesi için markup.Parse içinde tanımlanan maksimum genişliği alır.

[number](https://gmod.tr/wiki/number) MarkupObject:[GetWidth](https://gmod.tr/wiki/MarkupObject:GetWidth)()

Hesaplanmış markup nesnesinin genişliğini alır.

[number](https://gmod.tr/wiki/number), [number](https://gmod.tr/wiki/number) MarkupObject:[Size](https://gmod.tr/wiki/MarkupObject:Size)()

Hesaplanmış markup nesnesinin genişliğini ve yüksekliğini alır.

- [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/MarkupObject
