रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकले > blockRendering > ConstantProvider > shapeFor
ब्लॉकरेंडरिंग.ConstantProvider.shapeFor() तरीका
कनेक्शन के टाइप के हिसाब से, कनेक्शन का आकार और साइज़ की जानकारी वाला ऑब्जेक्ट पाएं.
हस्ताक्षर:
shapeFor(connection: RenderedConnection): Shape;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
कनेक्शन |
RenderedConnection |
इसके लिए आकार ऑब्जेक्ट ढूंढने का कनेक्शन |
लौटाए जाने वाले प्रॉडक्ट:
आकार
कनेक्शन के लिए आकार ऑब्जेक्ट.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-29 (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-29 (UTC) को अपडेट किया गया."],[[["The `blockRendering.ConstantProvider.shapeFor()` method retrieves the shape and size information for a given connection on a block."],["This method accepts a `RenderedConnection` object as input, representing the connection in question."],["It returns a `Shape` object containing the relevant shape and sizing details for the specified connection."]]],["The `shapeFor()` method, part of `blockRendering.ConstantProvider`, retrieves shape and sizing data for a given connection. It accepts a `RenderedConnection` as input and returns a `Shape` object. This `Shape` object contains details about the connection's appearance, determined by its type. The method's primary action is mapping a connection to its corresponding visual representation, facilitating block rendering.\n"]]