Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > blockRendering > PathObject > flipRTL
Méthode blockRendering.PathObject.flipRTL()
Inversez les chemins d'accès SVG en lecture de droite à gauche.
Signature :
flipRTL(): void;
Renvoie :
vide
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/21 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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"]]