Rectangle

Rectangle(double, double, double, double)

の新しいインスタンスを初期化しますRectangleclass.

public Rectangle(double left, double top, double right, double bottom)
パラメータ タイプ 説明
left Double 長方形領域の左端の x 座標。
top Double 長方形領域の上端の y 座標。
right Double 長方形領域の右端の x 座標。
bottom Double 長方形領域の下端の y 座標。

関連項目


Rectangle(Point, Size)

の新しいインスタンスを初期化しますRectangleclass.

public Rectangle(Point position, Size size)
パラメータ タイプ 説明
position Point 長方形領域の左上隅の座標。
size Size 長方形領域のサイズ。

関連項目