रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
रेंडर से जुड़ी जानकारी
RenderInfo
तय करता है कि किसी ब्लॉक के विज़ुअल एलिमेंट को कैसे बाहर निकाला जाएगा.
हमेशा ब्लॉक को इनपुट, कनेक्शन, और फ़ील्ड से बनाया जाता है. हालांकि, इन्हें कई अलग-अलग तरीकों से बनाया जा सकता है. उदाहरण के लिए, एक ही ब्लॉक की परिभाषा को बाहरी इनपुट या इनलाइन इनपुट के साथ रेंडर किया जा सकता है.

रेंडर करने की जानकारी से यह तय होता है कि कौनसा लेआउट चुना जाएगा.
रेंडरिंग के पहले चरण के तौर पर, रेंडर करने से जुड़ी जानकारी ब्लॉक की परिभाषा,
और उसके विज़ुअल टुकड़ों के मेज़रमेंट पर नज़र डालती है. फिर यह तय करता है कि ब्लॉक कैसे रखा जाना चाहिए और जानकारी को उसके अनुसार व्यवस्थित करता है. इस जानकारी को
ओवरलैपिंग एलिमेंट और स्पेसर में बदल दिया जाता है. इन्हें पंक्तियों और
लाइन स्पेसर में व्यवस्थित किया जाता है.
फिर ड्रॉर उस व्यवस्थित लेआउट की जानकारी का इस्तेमाल करके ब्लॉक का प्रतिनिधित्व करने वाला
SVG पाथ बनाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-07-24 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-07-24 (UTC) को अपडेट किया गया."],[[["`RenderInfo` dictates the visual layout of a block's elements, such as inputs, connections, and fields, determining aspects like inline or external input placement."],["It analyzes the block definition and element measurements to establish an optimal layout, organizing the information into elements, spacers, rows, and row spacers for a non-overlapping visual structure."],["This organized layout information is then utilized by the drawer to generate the final SVG paths that visually represent the block."]]],["`RenderInfo` defines a block's visual layout. It analyzes a block's inputs, connections, and fields, considering external or inline input options. It determines the layout, organizing visual components into non-overlapping elements, spacers, rows, and row spacers. This structured information is then passed to the drawer, which generates the SVG paths for the block's visual representation. The core task of the render info is to take visual elements and organize them.\n"]]