रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
ब्लॉकली > blockRendering > MarkerSvg > positionRect_
ब्लॉक रेंडरिंग.मार्करSvg.positionRect_() मेथड
मार्कर को वर्कस्पेस की इकाइयों में तय किए गए निर्देशांक पर ले जाएं और दिखाएं. भरा हुआ रेक्टैंगल दिखाता है.
हस्ताक्षर:
protected positionRect_(x: number, y: number, width: number, height: number): void;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
x |
संख्या |
फ़ाइल फ़ोल्डर की इकाइयों में नया x. |
y |
संख्या |
फ़ाइल फ़ोल्डर की इकाइयों में नया y. |
चौड़ाई |
संख्या |
फ़ाइल फ़ोल्डर की इकाइयों में नई चौड़ाई. |
ऊंचाई |
संख्या |
फ़ाइल फ़ोल्डर की इकाइयों में नई ऊंचाई. |
लौटाए जाने वाले प्रॉडक्ट:
अमान्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-21 (UTC) को अपडेट किया गया."],[[["The `blockRendering.MarkerSvg.positionRect_` method moves and displays a filled rectangle marker at the specified workspace coordinates."],["This method takes four parameters: `x`, `y`, `width`, and `height`, all in workspace units, to define the marker's position and size."],["It's a protected method, primarily used internally within the Blockly library for rendering purposes and has no return value."]]],[]]