סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > blockRendering > רינדור > makeConstants_
שיטת blockRendering.Renderer.makeConstants_()
יצירת מופע חדש של ספק הקבוע של כלי הרינדור.
Signature:
protected makeConstants_(): ConstantProvider;
החזרות:
ConstantProvider
הספק הקבוע.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003emakeConstants_\u003c/code\u003e method creates a new ConstantProvider object for the renderer.\u003c/p\u003e\n"],["\u003cp\u003eThis method is protected and returns a ConstantProvider instance which holds rendering constants.\u003c/p\u003e\n"],["\u003cp\u003eThe ConstantProvider is used to ensure consistent visual styling for blocks within the Blockly workspace.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [blockRendering](./blockly.blockrendering_namespace.md) \\\u003e [Renderer](./blockly.blockrendering_namespace.renderer_class.md) \\\u003e [makeConstants_](./blockly.blockrendering_namespace.renderer_class.makeconstants__1_method.md)\n\nblockRendering.Renderer.makeConstants_() method\n-----------------------------------------------\n\nCreate a new instance of the renderer's constant provider.\n\n**Signature:** \n\n protected makeConstants_(): ConstantProvider;\n\n**Returns:**\n\n[ConstantProvider](./blockly.blockrendering_namespace.constantprovider_class.md)\n\nThe constant provider."]]