סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > blockRendering > רינדור > init
שיטתblockRendering.Renderer.init()
מפעילים את כלי הרינדור.
Signature:
init(theme: Theme, opt_rendererOverrides?: {
[rendererConstant: string]: any;
}): void;
פרמטרים
פרמטר |
סוג |
תיאור |
עיצוב |
עיצוב |
אובייקט העיצוב של סביבת העבודה. |
opt_rendererOverrides |
{ [rendererConstant: string]: any; } |
(אופציונלי) עיבוד של שינויים קבועים. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-21 (שעון 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"]],["עדכון אחרון: 2024-08-21 (שעון UTC)."],[[["The `blockRendering.Renderer.init()` method initializes the renderer with a specified theme and optional rendering constant overrides."],["It accepts a `Theme` object to style the workspace and an optional object to override default rendering constants."],["Calling this method prepares the renderer for generating and displaying blocks within the Blockly workspace."]]],[]]