গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > ব্লক রেন্ডারিং > পাথঅবজেক্ট > সেটপাথ
blockRendering.PathObject.setPath() পদ্ধতি
সংশ্লিষ্ট SVG উপাদানের উপর রেন্ডারারের দ্বারা উত্পন্ন পথ সেট করুন।
স্বাক্ষর:
setPath(pathString: string): void;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
পাথস্ট্রিং | স্ট্রিং | পথ। |
রিটার্ন:
অকার্যকর
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `setPath` method updates the SVG element of a `PathObject` with a new path defined by the provided `pathString`."],["This method is part of the `blockRendering.PathObject` class within the Blockly library and is essential for visually rendering blocks."],["It accepts a single argument, `pathString`, which is a string representing the SVG path data."],["Calling `setPath` does not return any value, it simply updates the visual representation of the `PathObject`."]]],["The `setPath()` method, part of the `blockRendering.PathObject` class, updates the SVG element with a new path. It takes a single parameter, `pathString`, which is a string defining the path to be applied. This method does not return any value. It essentially sets the visual path of the rendered element based on the input string.\n"]]