0

I would like to ask is there any way to mirror the text horizontally like below image:

enter image description here

Situation: Currently I have a JFrame and createJLabels to add texts into JFrame. User can move JLabel texts around the JFrame window, and program will update position of the text.

Now I want to:

1) rotate the text (90,180,270,360 degrees)

2) mirror the text vertical and horizontally

Si Thao
  • 3
  • 3
  • What did you try? Show some code. – Shivam Puri Dec 08 '19 at 06:38
  • 1
    So you two basic problems, first you need to be able to convert text to an image, [for example](https://stackoverflow.com/questions/18800717/convert-text-content-to-image/18800845#18800845); next you need to be able to mirror the image for [example](https://stackoverflow.com/questions/11911610/affinetransform-rotate-how-do-i-xlate-rotate-and-scale-at-the-same-time/11911758#11911758) – MadProgrammer Dec 08 '19 at 06:39
  • @ShivamPuri: I am asking on the methods to achieve that. – Si Thao Dec 08 '19 at 07:00
  • @MadProgrammer: wow, that's great and that's what I am looking for. Thank you very much for your fast response ! – Si Thao Dec 08 '19 at 07:02

0 Answers0