代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/277459/10636346
cs rectangle.cs
using System;
namespace csPatterns {
public class Rectangle {
private int x1, x2, y1, y2;
private int w, h;
public Rectangle() { }
//-----
public void init(int x, int y) {
www.eeworm.com/read/277459/10637289
cs rectangle.cs
using System;
using System.Drawing ;
namespace CsharpPats
{
///
/// Draws a rectangle using a supplied Graphics object
///
public class Rectangle {
private int x, y,
www.eeworm.com/read/158966/10705918
cpp rectangle.cpp
//: C09:Rectangle.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Accessors & mutators
class
www.eeworm.com/read/420332/10803009
java rectangle.java
//Rectangle.java
//this program is about the use of the parameters of the function
public class Rectangle{
double x;
double y;
double computeArea(double x, double y)
{
do
www.eeworm.com/read/275376/10821710
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/275376/10821721
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/273406/10917801
class rectangle.class
www.eeworm.com/read/273406/10917805
java rectangle.java
//: Rectangle.java
//package g3ds.joop.ch5;
public class Rectangle{
//矩形的长和宽
private double width;
private double height;
public Rectangle(double w, double h){
width=w;
height=h
www.eeworm.com/read/273406/10918070
class rectangle.class
www.eeworm.com/read/272996/10931887