Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > Alan > getTextElement
Field.getTextElement() yöntemi
Metin öğesini alır.
İmza:
protected getTextElement(): SVGTextElement;
Şunu döndürür:
SVGTextElement
Metin öğesi.
İstisnalar
Metin öğesi tanımlanmazsa hata oluşur.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[[["The `getTextElement()` method retrieves the SVG text element associated with the field."],["This method is protected, meaning it's primarily for internal use within Blockly."],["If the text element hasn't been defined, calling this method will result in an error."],["The method returns an SVGTextElement object representing the field's text."]]],["The `getTextElement()` method, part of the `Field` class, retrieves the text element associated with a field. It returns an `SVGTextElement`. The method is protected, meaning it's intended for internal class use or by subclasses. If the text element is not defined, the method will throw an error. The primary function of this method is to provide access to the visual text representation of the field.\n"]]