当前位置: 技术问答>java相关
the origin about the Grapics class? SOS
来源: 互联网 发布时间:2015-11-01
本文导语: the question is as below: the graphics class has a coordinate system with an origin at: A.the center of the space B.the bottom-left corner of the space C.the top-left corner of the space D.a user-configurable coordinate system. the right answer is A...
the question is as below:
the graphics class has a coordinate system with an origin at:
A.the center of the space
B.the bottom-left corner of the space
C.the top-left corner of the space
D.a user-configurable coordinate system.
the right answer is A.
But i dont think so, i think it is c, and i write some code to test!
how about it ?
the graphics class has a coordinate system with an origin at:
A.the center of the space
B.the bottom-left corner of the space
C.the top-left corner of the space
D.a user-configurable coordinate system.
the right answer is A.
But i dont think so, i think it is c, and i write some code to test!
how about it ?
|
I'm sure C is correct
|
The correct answer is C and can be found in The Java tutorial : Overview of Custom Painting : The Coordinate System
http://java.sun.com/docs/books/tutorial/uiswing/painting/overview.html
http://java.sun.com/docs/books/tutorial/uiswing/painting/overview.html