संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ब्लॉकली > HorizontalFlyout > getClientRect
हॉरिज़ॉन्टलFlyout.getClientRect() मेथड
व्यूपोर्ट के सापेक्ष पिक्सल इकाइयों में ड्रैग टारगेट क्षेत्र का बाउंडिंग रेक्टैंगल देता है.
हस्ताक्षर:
getClientRect(): Rect | null;
लौटाए जाने वाले प्रॉडक्ट:
रेक्टैंगल | शून्य
कॉम्पोनेंट का बाउंडिंग बॉक्स. अगर खींचें और छोड़ें टारगेट एरिया को अनदेखा करना है, तो शून्य.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The `getClientRect()` method, part of the `HorizontalFlyout` class, retrieves the bounding rectangle of a drag target area. This rectangle is expressed in pixel units relative to the viewport. The method's signature is `getClientRect(): Rect | null;`. It returns a `Rect` object, representing the component's bounding box, or `null` if the drag target area should be disregarded.\n"]]