K
K
Kekoc2014-12-14 07:51:52
Java
Kekoc, 2014-12-14 07:51:52

How to change the xy origin for drawing in Swing?

Hello.
Is it possible to change the initial coordinates to be from the bottom left instead of the top corner in Swing?
To avoid cycling again.
7804c1fbec6c4c7cb9d2055bdb1300eb.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Pavlov, 2014-12-15
@Kekoc

No you can't, it's a development standard. In all systems, coordinates start from the upper left corner.
You can write your own crutch that would invert it, but why?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question