blockly > blockRendering > PathObject > flipRTL
blockRendering.PathObject.flipRTL()-Methode
Blättern Sie die SVG-Pfade in RTL um.
Unterschrift:
flipRTL(): void;
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-21 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]