Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
blockly > blockRendering > PathObject > flipRTL
Metode blockRendering.PathObject.flipRTL()
Balik jalur SVG di RTL.
Tanda Tangan:
flipRTL(): void;
Hasil:
void
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-21 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]