搜索资源列表
ShapeExp2
- 个人原创代码:矩形、圆形、五角星等形状的操作。编写Java Application程序,创建一个接口Shape,其中有抽象方法area,类Circle 、Rectangle实现area方法计算其面积并返回。又有Star实现Shape的area方法,其返回值是0,Star类另有一返回值boolean型方法isStar;在main方法里创建一个Vector,根据随机数的不同向其中加入Shape的不同子类对象(如是1,生成Circle对象;如是2,生成Rectangle对象;如是3,生成Star对象)
point
- 产生一系列的颜色形状未定的图形,自动删除相邻图形中颜色或形状重复的,直至不再有重复的-Shape yet to produce a series of color graphics, automatically delete the adjacent graphic, color or shape repeated until there is no duplicate
JavaApplication7
- 定义一个抽象类Shape代表一个形状类,具有一个计算形状的面积的抽象方法,一个具有计算形状的周长的抽象方法。定义一个Shape类的子类Circle类表示一个圆,,此类具有一个表示半径的成员变量,实现这个类,定义一个单独的类测试此类。定义一个Shape类的子类Retangle类表示一个矩形,,此类具有表示高和宽的成员变量,实现这个类,定义一个单独的类测试此类-Define an abstract class Shape represents a shape class, with a calcul
MyPainter
- 画笔程序范例,提供直线、矩形、椭圆等形状,及文字的绘制-Brush program example, draw a straight line, rectangle, oval and other shapes, and text
TestShape
- 设计一个类Shape,包括3个protected方法,分别是计算形状的周长和面积,以及比较面积大小。设计类Rectangle和Circle,分别表示矩形和圆,它们都是Shapes的子类。编写测试类,其中包含一个通用的排序程序和一个通用的二分查找程序(自己写代码实现),能对这二种类型的数组进行排序并查找指定的对象。
zidingyishubiaoxingzhang
- 通过查看此文件可以让你学会在自己的文件中定义不同的鼠标形状。-View this file allows you to learn in their own files to define the different shape of the mouse.
testjstl
- 作为java的验证码 源码 可以变化多种 形状 很好看的 是最新的-As a java source code of the verification code can change a variety of shapes look good is the latest
Block
- JAVA编写的俄罗斯方块,通过数组记录相关的方块形状,随机出现。完成的难度自动累加系统,完整的记录的实现本游戏的所有代码。-Tetris written in JAVA, through an array of records related to the box shape, randomly. The difficulty of complete automatic accumulation system, a complete record of all the code to achie
CDShop
- 做一个画笔小程序。 基本功能要求: 提供直线、矩形、椭圆等形状,及文字的绘制。 背景色和前端颜色可选。 图形的绘制可以选择填充模式或者非填充模式。 -Do a brush small program. The basic functional requirements: Provide line, rectangle and oval shape, etc, and text rendering. The background and front color op
java
- 这是一个java程序,判断是否构成三角形,如果是三角形,并且判断该三角形形状,很适合初学者学习-java study.
Cover
- (棋盘覆盖)在一个2^k×2^k (k≥0)个方格组成的棋盘中,恰有一个方格与其他方格不同,称该方格为特殊方格。棋盘覆盖问题要求用图(b)所示的4种不同形状的L型骨牌覆盖给定棋盘上除特殊方格以外的所有方格,且任何2个L型骨牌不得重叠覆盖。 -(board cover) in a ^ 2 k x 2 ^ k (k zero) of a grid board, just have a grid and other grid is different, says the grid for specia
MotionCAPTCHA-master
- MotionCAPTCHA是一个jQuery的验证码CAPTCHA插件,要求用户按照图中指示画出大概的形状。基于HTML5的Canvas技术实现。-MotionCAPTCHA is a jQuery CAPTCHA plugin verification code requires the user instructions to draw about the shape as shown in Figure. Based on the HTML5 Canvas technology.
02_01_EXP
- 形状判断,只有主要代码,因为只可以传一个文件-Shape judgment, only the main code, because you can only pass a file
Abstract
- 如何使用抽象方法的示例。用抽象类实现对长方形,正方形,圆形面积的计算,然后实现对随机产生的是个图形面积的累加(图形的形状和长、宽、半径均随机产生)-Abstract class implements a pair of rectangular, square, circular area is calculated, and then implement the randomly generated graphics area accumulate (the shape of the graph
ThinkingInJava
- 探讨了矩形件和任意形状图案的排样优化问题的遗传算法求解,提出了剩余矩形表示法和条形图表示法。对于矩形排样,剩余矩形表示法提高了板材利用率,更容易得到较优解。对于任意形状图案排样,条形图表示法直接利用位图排样,不对图案作任何限制(允许有孔洞),排样速度很快。该算法已应用于智能印花分色系统中-very good
different_shape
- 构造不同的形状如三角形,长方形等,然后输出形状并且画出来-Constructing different shapes such as triangular, rectangular shape, and then output and drawn
interface
- interface OnSquare{ float getArea() (面积) } class Circle(园) Class Square(正方形) class Triangle(三角形) 要求,在控制台输入1,Circle,10; area=r*r* 输入:2:square,10 20 area=a*b 输入 3,Triangle 10,20 area=a*b/2 输入 4 退出。并打印结果。所有shape(形状)的面积和
ij146r-src
- Image_J源码,方便大家学习。基于ImageJ的图像形状与纹理处理-Image_J source code, to facilitate learning. Based on the shape and texture ImageJ image processing
opencanvas
- java绘图板 包括对笔的粗细颜色 和笔刷的形状进行调整-java drawing board
drawWindows
- 用HTML5 Canvas前台绘制窗户形状的图片源码-HTML5 Canvas Drawing Windows