रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > blockRendering > RenderInfo > getDesiredRowWidth_
ब्लॉक रेंडरिंग.RenderInfo.getDesiredRow लगें_() तरीका
इनपुट पंक्ति की मनचाही चौड़ाई की गणना करें.
हस्ताक्षर:
protected getDesiredRowWidth_(_row: Row): number;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
_row |
पंक्ति |
इनपुट पंक्ति. |
लौटाए जाने वाले प्रॉडक्ट:
संख्या
इनपुट लाइन की चौड़ाई अपने हिसाब से तय करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (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-21 (UTC) को अपडेट किया गया."],[[["The `getDesiredRowWidth_` method calculates the desired width of a given input row within a Blockly block rendering."],["This protected method belongs to the `RenderInfo` class within the `blockRendering` namespace of Blockly."],["It accepts a single argument, `_row`, which is an instance of the `Row` class, representing the row to measure."],["The method returns a numerical value representing the calculated desired width of the input row."]]],["The `getDesiredRowWidth_` method, part of `blockRendering.RenderInfo`, calculates the intended width for a given input row. It accepts a `Row` object as a parameter. The method's purpose is to determine and return the numerical desired width of that specific input row, allowing for proper layout and rendering of blocks. It's a protected method.\n"]]