रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > ट्रैशकैन > रैंक
ट्रैशकैन.पोज़िशन() मेथड
ट्रैशकैन की जगह तय करता है. यह उस कोने के सामने कोने में स्थित होता है, जिससे कैटगरी/टूलबॉक्स शुरू होता है.
हस्ताक्षर:
position(metrics: UiMetrics, savedPositions: Rect[]): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
मेट्रिक |
UiMetrics |
वर्कस्पेस की मेट्रिक. |
savedPositions |
रेक्टैंगल[] |
वर्कस्पेस में पहले से मौजूद रेक्टैंगल की सूची. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-10 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-09-10 (UTC) को अपडेट किया गया."],[[["The `Trashcan.position()` method places the trashcan in the workspace, opposite the toolbox or category area."],["This positioning is determined using workspace metrics and considers existing elements to avoid overlap, ensuring the trashcan is visible and accessible."],["The method takes `UiMetrics` for workspace dimensions and an array of `Rect` objects representing other workspace elements as input."],["It does not return any value, directly modifying the trashcan's position on the workspace."]]],[]]