গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
তথ্য রেন্ডার
RenderInfo
নির্ধারণ করে যে একটি ব্লকের ভিজ্যুয়াল উপাদানগুলি কীভাবে বিন্যস্ত হয়।
একটি ব্লক সর্বদা ইনপুট, সংযোগ এবং ক্ষেত্রগুলি দিয়ে তৈরি করা হয়, তবে সেগুলি বিভিন্ন উপায়ে স্থাপন করা যেতে পারে। উদাহরণস্বরূপ, একই ব্লক সংজ্ঞা বহিরাগত ইনপুট বা ইনলাইন ইনপুট দিয়ে রেন্ডার করা যেতে পারে।

রেন্ডার তথ্য নির্ধারণ করে কোন লেআউটটি বেছে নেওয়া হয়েছে।
রেন্ডারিংয়ের প্রথম ধাপ হিসাবে, রেন্ডার তথ্য ব্লকের সংজ্ঞা এবং এর ভিজ্যুয়াল টুকরাগুলির পরিমাপ দেখে। তারপরে এটি সিদ্ধান্ত নেয় যে ব্লকটি কীভাবে স্থাপন করা উচিত এবং সেই অনুযায়ী তথ্য সংগঠিত করে। তথ্যগুলি নন-ওভারল্যাপিং উপাদান এবং স্পেসারে পরিণত হয়, যা অ-ওভারল্যাপিং সারি এবং সারি স্পেসারগুলিতে সংগঠিত হয়।
তারপর ড্রয়ারটি ব্লকের প্রতিনিধিত্বকারী SVG পাথগুলি তৈরি করতে সেই সংগঠিত লেআউট তথ্য ব্যবহার করে।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-30 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"]]