Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Rectangle
Search - Rectangle - List
画图,提供一般的画图功能,包括(点,直线,矩形,椭圆,多边形等)-drawing for the general drawing functions, including (point, line, rectangle, ellipse, polygon, etc.)
Date : 2008-10-13 Size : 46.46kb User : 小浪

编写4个类:Rectangle、Circle、Geometry、Exa,具体要求如下: ① Rectangle类有double型成员变量表示矩形左上角的位置坐标及矩形的宽和高,要求提供修改和返回各成员变量的方法。 ② Circle类有double型成员变量表示圆心坐标和圆的半径,要求提供修改和返回各成员变量的方法。 ③ Geometry类有Rectangle类和Circle型的成员变量rect和circle。即Geometry类创建的对象由一个矩形和一个圆组合而成。要求该类提供修改rect、circle位置和大小的方法;提供显示rect和circle位置关系的方法,并能够显示圆是否完全坐落于矩形中。 ④ 要求能对创建的Rectangle类和Circle类对象数目进行统计。 ⑤ Exa类含有main方法,在main方法中用Geometry类创建对象,该对象调用相应的方法设置圆和矩形的位置及大小并输出圆是否包含在矩形中。输出当前Rectangle和Circle对象数目。
Date : 2008-10-13 Size : 6.9kb User : 小吴

画图,提供一般的画图功能,包括(点,直线,矩形,椭圆,多边形等)-drawing for the general drawing functions, including (point, line, rectangle, ellipse, polygon, etc.)
Date : 2025-12-16 Size : 46kb User : 小浪

单击视图窗口时,在该位置绘制矩形并显示该点坐标-Click the View window, draw a rectangle at that location and displays the point coordinates
Date : 2025-12-16 Size : 37kb User : 李磊

DL : 0
可以扑捉任意两点构成的矩形图片 按下ctl键点击你要扑捉的矩形的左上角和右下角(Can catch any consisting of two rectangular images Press the CTL click you want to catch the rectangle in the upper left corner and the lower right corner)
Date : 2025-12-16 Size : 42kb User : ctntlun
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.