গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ড্রয়ার
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Drawer
রেন্ডারারের তথ্যের উপর ভিত্তি করে SVG পাথ তৈরি করে এবং সেগুলিকে পাথ অবজেক্টে পাঠায়।
এটি বিভিন্ন পরিমাপের বিভিন্ন পাথ উপস্থাপনাগুলিকে (যা ধ্রুবক প্রদানকারীতে সংজ্ঞায়িত করা হয়েছে) একসাথে সংযুক্ত করে। ড্রয়ারটি এটি করার জন্য ব্লকলি দ্বারা প্রদত্ত SVG পাথ ব্যবহার করে।
ড্রয়ারটি ব্লকের মধ্যে সংযোগগুলির অফসেটগুলিও আপডেট করে৷
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe \u003ccode\u003eDrawer\u003c/code\u003e uses renderer information to construct SVG paths for block visualization, passing them to the path object for rendering.\u003c/p\u003e\n"],["\u003cp\u003eIt integrates path representations of block elements, defined by the constant provider, and connects them using SVG path utilities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDrawer\u003c/code\u003e is also responsible for adjusting the positions of connection points within the block during rendering.\u003c/p\u003e\n"]]],["The `Drawer` constructs SVG paths using renderer info and sends them to the path object. It integrates various path representations of measurables, defined within the constant provider. Blockly's SVG path utilities are used for path construction. Additionally, the `Drawer` adjusts the offsets of connections located within the block. This process is central to how blocks are visually assembled and connected.\n"],null,["# Drawer\n\nThe [`Drawer`](/blockly/reference/js/blockly.blockrendering_namespace.drawer_class) builds SVG [paths](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths) based on the\n[renderer info](/blockly/guides/create-custom-blocks/renderers/concepts/info) and passes them to the [path object](/blockly/guides/create-custom-blocks/renderers/concepts/path-object).\n\nIt connects all of the different path representations of the different\nmeasurables (which are defined in the [constant provider](/blockly/guides/create-custom-blocks/renderers/concepts/constants))\ntogether. The drawer uses the [SVG path utils](/blockly/reference/js/blockly.utils_namespace.svgpaths_namespace) provided by\nBlockly to do this.\n\nThe drawer also updates the offsets of connections within the block."]]