(st2:dict, kwargs:dict)
| 42 | |
| 43 | |
| 44 | def modify(st2:dict, kwargs:dict): |
| 45 | try: |
| 46 | txt = styles[int(st2.text)] |
| 47 | except: |
| 48 | txt = st2.text |
| 49 | |
| 50 | w = kwargs.get("width", 4) |
| 51 | h = kwargs.get("height", w) |
| 52 | fs = kwargs.get("fontSize", 4) |
| 53 | |
| 54 | return (hobeauxBorder(Rect(w, h), txt, st2.font_path, fs) |
| 55 | .centerZero()) |
nothing calls this directly
no test coverage detected