रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > blockRendering > कनेक्शन > (कंस्ट्रक्टर)
blockRendering.Connection.(constructor)
Connection
क्लास का एक नया इंस्टेंस बनाता है
हस्ताक्षर:
constructor(constants: ConstantProvider, connectionModel: RenderedConnection);
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
कॉन्सटेंट |
ConstantProvider |
रेंडरिंग कॉन्सटेंट प्रोवाइडर. |
connectionModel |
RenderedConnection |
इससे जुड़े ब्लॉक पर मौजूद कनेक्शन ऑब्जेक्ट. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["The `blockRendering.Connection` constructor creates a new Connection instance, which visually represents a connection point on a block in the Blockly workspace."],["It takes a `ConstantProvider` for rendering settings and a `RenderedConnection` representing the block's connection data as input."]]],["The `Connection` class constructor takes two parameters: `constants` and `connectionModel`. `constants` is an instance of `ConstantProvider` and provides rendering constants. `connectionModel` represents the connection object on the block, and is of type `RenderedConnection`. This constructor creates a new instance of the `Connection` class. The `Connection` class is part of the `blockRendering` namespace.\n"]]