संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकले > blockRendering > आइकॉन > (कंस्ट्रक्टर)
blockRendering.Icon.(constructor)
एक ऑब्जेक्ट जिसमें यह जानकारी होती है कि रेंडरिंग के दौरान आइकॉन कितनी जगह का इस्तेमाल करता है.
हस्ताक्षर:
constructor(constants: ConstantProvider, icon: BlocklyIcon);
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
कॉन्सटेंट |
ConstantProvider |
रेंडरिंग कॉन्सटेंट प्रोवाइडर. |
आइकॉन |
BlocklyIcon |
जानकारी को मापने और सेव करने के लिए आइकॉन. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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 `Icon` constructor, part of the `blockRendering` namespace, creates an object to manage an icon's rendering space. It requires two parameters: `constants`, a `ConstantProvider` instance that supplies rendering constants, and `icon`, a `BlocklyIcon` representing the icon being rendered. This object stores information about the dimensions of an icon during the rendering process.\n"]]