Why Java 2D origin is at the top left corner?

后端 未结 10 870
我寻月下人不归
我寻月下人不归 2021-01-04 23:19

I\'m not complaining, just wonder. Why Java use top left point of the drawing surface as origin? I assume more natural is to choose left bottom corner as origin and increase

10条回答
  •  一向
    一向 (楼主)
    2021-01-04 23:51

    Could be also due to the CRT monitor, where the electron gun draws the image from left to right and top to bottom.

提交回复
热议问题