แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > blockRendering > PathObject > flipRTL
เมธอด blockRendering.PathObject.FlipRTL()
พลิกเส้นทาง SVG ใน RTL
ลายเซ็น:
flipRTL(): void;
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-21 UTC
[null,null,["อัปเดตล่าสุด 2024-08-21 UTC"],[[["The `flipRTL()` method flips the SVG paths used for rendering blocks in Blockly to support right-to-left (RTL) languages."],["This method modifies the PathObject instance directly to reflect the RTL layout and ensures visual consistency for RTL users."],["It is part of the blockRendering namespace and is specifically designed for PathObject instances within Blockly's rendering system."],["By invoking this method, developers can adjust the visual representation of blocks in RTL contexts without needing manual adjustments."]]],["The `flipRTL()` method, part of the `PathObject` class within the `blockRendering` namespace, is designed to adjust SVG paths for right-to-left (RTL) languages. This method, which takes no arguments, modifies the paths to be displayed correctly in RTL contexts. The method returns nothing (void) and its core function is to change the directionality of the paths.\n"]]