3

Graphicsクラス: fillOvalのメソッドの場合、と は何xy意味しますか? ドキュメントには次のように記載されています。

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.

ぜんぜんわかりません。どういう意味ですか ?

4

2 に答える 2

14
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.

画像を参照してください。

ここに画像の説明を入力

于 2013-03-31T09:51:46.300 に答える
3

一枚の紙に、長方形を描きます。次に、長方形の内側に楕円を描き、できるだけ長方形を埋めます (楕円は長方形の 4 つの側面すべてに一度接触する必要があります)。

正方形の左上隅は (x,y)

于 2013-03-31T09:49:53.513 に答える