[問題] 關於畫橢圓fillOval
林邦傑"如何設計Java程式"書上是
fillOval(int x, int y, int width, int height)
其中(x,y)是中心座標
但是官網
http://download.oracle.com/javase/7/docs/api/java/awt/Graphics.html
上面的(x,y)則是
"x - the x coordinate of the upper left corner of the oval to be filled.
y - the y coordinate of the upper left corner of the oval to be filled."
怎麼會不依樣?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.44.140.54
→
10/10 09:48, , 1F
10/10 09:48, 1F
→
10/10 09:51, , 2F
10/10 09:51, 2F
→
10/10 09:56, , 3F
10/10 09:56, 3F
→
10/10 12:21, , 4F
10/10 12:21, 4F
推
10/10 12:44, , 5F
10/10 12:44, 5F
推
10/10 21:26, , 6F
10/10 21:26, 6F
→
10/10 21:28, , 7F
10/10 21:28, 7F