קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > geras > חלונית הזזה > (constructor)
geras.Drawer.(constructor)
יצירה של מופע חדש של המחלקה Drawer
Signature:
constructor(block: BlockSvg, info: RenderInfo);
פרמטרים
פרמטר |
סוג |
תיאור |
חסימה |
BlockSvg |
הבלוק לעיבוד. |
מידע |
RenderInfo |
אובייקט שמכיל את כל המידע שדרוש לעיבוד הבלוק הזה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["The `Drawer` class constructor creates a new `Drawer` instance. It requires two parameters: `block`, which is a `BlockSvg` representing the block to be rendered, and `info`, a `RenderInfo` object containing necessary rendering information. The constructor's purpose is to set up the necessary structure for rendering a given block. The class is part of the `geras` namespace within Blockly.\n"]]