user3029498
user3029498

Reputation: 101

Rescale Animation

I have some code that code that's supposed to animate parts of my program, and right now, the animation dimensions are hard coded, i.e. every distance and location is specified by a number. I was just wondering, is there a way to rescale the animation panel, so that the hard-coded thing will work on computers with smaller screens?

Upvotes: 0

Views: 36

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

Use a scale instance of an AffineTransform for this. Here is an example of scaling text.

Upvotes: 1

Related Questions