Changing Widht and Hight of a Java text using the Graphics Class

Asked

Viewed 11 times

1

Hello, follow my question.:

As the image below would like to play something like this in Java using the Graphics Class I want to be able to scale a text with the Drawstring method, I took a look at the Font class but only managed to add new fonts and increase their size but I would like to change the Widht and Hight of the text separately giving this effect of stretched letters, but unfortunately the Font class only accepts an int as size I found something about a Dimension class but I’m not sure if that’s the point of it.

I am posting my doubt here but I continue researching if you find out how before you answer me I will give a feedback, already thank you for the attention.

Exemplo

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.