blockly > balonlar > Baloncuk > setPositionRelativeToAnchor
bubbles.Bubble.setPosition linking() yöntemi
Bu balonun çapasına göre konumunu ayarlar.
İmza:
setPositionRelativeToAnchor(left: number, top: number): void;
Parametreler
Parametre |
Tür |
Açıklama |
sol |
sayı |
|
üst |
sayı |
|
Şunu döndürür:
geçersiz
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: 2024-09-11 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-11 UTC."],[[["The `setPositionRelativeToAnchor()` method positions a bubble in relation to its anchor element."],["It takes two numeric arguments, `left` and `top`, to specify the bubble's offset from the anchor."],["The method does not return any value, it modifies the bubble's position directly."]]],[]]