Question about coordinates
I just finished making a simple beginning applet that just displayed the message,"Welcome
to Java Programming", and drew a line above the text and another line below
the text. The coordinates for the top line were(15, 10) and the coordinates
for the bottom line were(15, 30). My question is shouldn't it really be listed
as(15, -30). If you move down the y-axis you move in a negative direction.
Seems to me the y coordinate for the bottom line should be listed as -30.
Can anyone clear this up?
Re: Question about coordinates
in java the x is regular, but the y is backwards. the (0,0) spot is the
top-left corner of the screen. Why? Heck if I know.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center