代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/165570/5481378
java rectangle.java
/** A rectangle with a width and height, and also x and y coordinates (inherited from Shape). */
public class Rectangle extends Shape
{
/** Width and height of the rectangle. */
protected int wi
www.eeworm.com/read/164465/5489911
java rectangle.java
package graphics.twoD;
public class Rectangle {
public int width = 0;
public int height = 0;
public Point origin;
// 定义了四个构造方法。
/* public Rectangle() {
origin = new Poi
www.eeworm.com/read/163818/5509308
c rectangle.c
/* Produce a rectangular wave on output 0 of a parallel port */
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/348688/3153487
h rectangle.h
//rectangle.h
class Point //基类声明
{
public:
void InitP(float xx=0, float yy=0) {X=xx;Y=yy;}
void Move(float xOff, float yOff) {X+=xOff;Y+=yOff;}
float GetX() {return X;}
float GetY() {return
www.eeworm.com/read/348688/3153490
h rectangle.h
//Rectangle.h
class Point //基类Point类的声明
{
public: //公有函数成员
void InitP(float xx=0, float yy=0) {X=xx;Y=yy;}
void Move(float xOff, float yOff) {X+=xOff;Y+=yOff;}
float GetX() {return X;}
floa
www.eeworm.com/read/347831/3162252
java rectangle.java
package book.oo.shape;
/**
* 长方形
*/
public class Rectangle extends MyShape {
//长方形的长
private double length;
//长方形的宽
private double width;
//边长错误信息
public static final String SIDEER
www.eeworm.com/read/347831/3162320
java rectangle.java
package book.graphic.painter2D;
import java.awt.Color;
import java.awt.Graphics;
// 画矩形
public class Rectangle implements Shape {
// 矩形左上角位置的坐标,x、y值
private int x;
private int y;
//
www.eeworm.com/read/345604/3198619
java rectangle.java
/*
* $Id: Rectangle.java,v 1.41 2002/07/09 10:41:40 blowagie Exp $
* $Name: $
*
* Copyright 1999, 2000, 2001, 2002 by Bruno Lowagie.
*
* The contents of this file are subject to the Mozilla Pub
www.eeworm.com/read/345154/3201863
java rectangle.java
package book.oo.shape;
/**
* 长方形
*/
public class Rectangle extends MyShape {
//长方形的长
private double length;
//长方形的宽
private double width;
//边长错误信息
public static final String SIDEER
www.eeworm.com/read/345154/3201924
java rectangle.java
package book.graphic.painter2D;
import java.awt.Color;
import java.awt.Graphics;
// 画矩形
public class Rectangle implements Shape {
// 矩形左上角位置的坐标,x、y值
private int x;
private int y;
//