গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ব্লকলি > রেন্ডারড কানেকশন > দূরত্ব থেকে
RenderedConnection.distanceFrom() পদ্ধতি
ওয়ার্কস্পেস ইউনিটে এই সংযোগ এবং অন্য সংযোগের মধ্যে দূরত্ব প্রদান করে।
স্বাক্ষর:
distanceFrom(otherConnection: Connection): number;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
অন্যান্য সংযোগ | সংযোগ | অন্য সংযোগ দূরত্ব পরিমাপ. |
রিটার্ন:
সংখ্যা
ওয়ার্কস্পেস ইউনিটে সংযোগের মধ্যে দূরত্ব।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 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"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `distanceFrom()` method calculates the distance between two connections in a Blockly workspace."],["It takes another connection as input and returns the distance between them as a numerical value representing workspace units."]]],["The `distanceFrom()` method, part of the `RenderedConnection` class, calculates the distance between two connections. It accepts one parameter, `otherConnection`, of type `Connection`, representing the connection to measure against. The method returns a `number` value, which represents the distance separating the two connections, measured in workspace units. The core action is the calculation of the distance, with the other connection serving as the reference point.\n"]]