1
0
Fork 0
inkscape/share/extensions/text_flipcase.py
Daniel Baumann 02d935e272
Adding upstream version 1.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 23:40:13 +02:00

16 lines
327 B
Python
Executable file

#!/usr/bin/env python3
"""Flip upper to lower and lower to upper cases"""
import inkex
class FlipCase(inkex.TextExtension):
"""Change the case, cHANGE THE CASE"""
@staticmethod
def map_char(char):
return char.upper() if char.islower() else char.lower()
if __name__ == "__main__":
FlipCase().run()