סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > ZoomControls > getBoundingRectangle
שיטת ZoomControls.getBoundingRectangle()
מחזירה את המלבן התוחם של רכיב ממשק המשתמש ביחידות פיקסלים ביחס ל-div (החדרת חסימה ב-Blockly).
Signature:
getBoundingRectangle(): Rect | null;
החזרות:
Rect | null
התיבה התוחמת של רכיבי ממשק המשתמש. null אם רכיבים אחרים בממשק המשתמש צריכים להתעלם מהתיבה התוחמת,
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-22 (שעון UTC)."],[[["The `getBoundingRectangle()` method returns the bounding rectangle of the Zoom Controls UI element."],["This rectangle is relative to the Blockly injection div and is expressed in pixel units."],["The return value is a `Rect` object representing the bounding box or `null` if it should be ignored by other UI elements."]]],[]]