रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकले > blockRendering > हैट > (कंस्ट्रक्टर)
blockRendering.Hat.(constructor)
Hat
क्लास का एक नया इंस्टेंस बनाता है
हस्ताक्षर:
constructor(constants: ConstantProvider);
पैरामीटर
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-15 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-10-15 (UTC) को अपडेट किया गया."],[[["The `blockRendering.Hat` class is used for rendering the top part of a block, often a rounded shape."],["A new `Hat` object is created using the constructor, taking a `ConstantProvider` object which supplies necessary rendering parameters."],["The `ConstantProvider` provides access to values like colors, sizes, and other constants used for drawing the block hat."]]],[]]