亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rectangle.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/* Rectangle.java -- represents a graphics rectangle   Copyright (C) 1999, 2000, 2001, 2002 Free Software FoundationThis file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.awt;import java.awt.geom.Rectangle2D;import java.io.Serializable;/** * This class represents a rectangle and all the interesting things you * might want to do with it.  Note that the coordinate system uses * the origin (0,0) as the top left of the screen, with the x and y * values increasing as they move to the right and down respectively. * * <p>It is valid for a rectangle to have negative width or height; but it * is considered to have no area or internal points. Therefore, the behavior * in methods like <code>contains</code> or <code>intersects</code> is * undefined unless the rectangle has positive width and height. * * <p>There are some public fields; if you mess with them in an inconsistent * manner, it is your own fault when you get NullPointerException, * ArrayIndexOutOfBoundsException, or invalid results. Also, this class is * not threadsafe. * * @author Warren Levy  (warrenl@cygnus.com) * @author Aaron M. Renn (arenn@urbanophile.com) * @author Eric Blake (ebb9@email.byu.edu) * @since 1.0 * @status updated to 1.4 */public class Rectangle extends Rectangle2D implements Shape, Serializable{  /**   * Compatible with JDK 1.0+.   */  private static final long serialVersionUID = -4345857070255674764L;  /**   * The X coordinate of the top-left corner of the rectangle.   *   * @see #setLocation(int, int)   * @see #getLocation()   * @serial the x coordinate   */  public int x;  /**   * The Y coordinate of the top-left corner of the rectangle.   *   * @see #setLocation(int, int)   * @see #getLocation()   * @serial the y coordinate   */  public int y;  /**   * The width of the rectangle.   *   * @see #setSize(int, int)   * @see #getSize()   * @serial   */  public int width;  /**   * The height of the rectangle.   *   * @see #setSize(int, int)   * @see #getSize()   * @serial   */  public int height;  /**   * Initializes a new instance of <code>Rectangle</code> with a top   * left corner at (0,0) and a width and height of 0.   */  public Rectangle()  {  }  /**   * Initializes a new instance of <code>Rectangle</code> from the   * coordinates of the specified rectangle.   *   * @param r the rectangle to copy from   * @throws NullPointerException if r is null   * @since 1.1   */  public Rectangle(Rectangle r)  {    x = r.x;    y = r.y;    width = r.width;    height = r.height;  }  /**   * Initializes a new instance of <code>Rectangle</code> from the specified   * inputs.   *   * @param x the X coordinate of the top left corner   * @param y the Y coordinate of the top left corner   * @param width the width of the rectangle   * @param height the height of the rectangle   */  public Rectangle(int x, int y, int width, int height)  {    this.x = x;    this.y = y;    this.width = width;    this.height = height;  }  /**   * Initializes a new instance of <code>Rectangle</code> with the specified   * width and height. The upper left corner of the rectangle will be at   * the origin (0,0).   *   * @param width the width of the rectangle   * @param height the height of the rectange   */  public Rectangle(int width, int height)  {    this.width = width;    this.height = height;  }  /**   * Initializes a new instance of <code>Rectangle</code> with a top-left   * corner represented by the specified point and the width and height   * represented by the specified dimension.   *   * @param p the upper left corner of the rectangle   * @param d the width and height of the rectangle   * @throws NullPointerException if p or d is null   */  public Rectangle(Point p, Dimension d)  {    x = p.x;    y = p.y;    width = d.width;    height = d.height;  }  /**   * Initializes a new instance of <code>Rectangle</code> with a top left   * corner at the specified point and a width and height of zero.   *   * @param p the upper left corner of the rectangle   */  public Rectangle(Point p)  {    x = p.x;    y = p.y;  }  /**   * Initializes a new instance of <code>Rectangle</code> with an   * upper left corner at the origin (0,0) and a width and height represented   * by the specified dimension.   *   * @param d the width and height of the rectangle   */  public Rectangle(Dimension d)  {    width = d.width;    height = d.height;  }  /**   * Get the X coordinate of the upper-left corner.   *   * @return the value of x, as a double   */  public double getX()  {    return x;  }  /**   * Get the Y coordinate of the upper-left corner.   *   * @return the value of y, as a double   */  public double getY()  {    return y;  }  /**   * Get the width of the rectangle.   *   * @return the value of width, as a double   */  public double getWidth()  {    return width;  }  /**   * Get the height of the rectangle.   *   * @return the value of height, as a double   */  public double getHeight()  {    return height;  }  /**   * Returns the bounds of this rectangle. A pretty useless method, as this   * is already a rectangle; it is included to mimic the   * <code>getBounds</code> method in Component.   *   * @return a copy of this rectangle   * @see #setBounds(Rectangle)   * @since 1.1   */  public Rectangle getBounds()  {    return new Rectangle(this);  }  /**   * Returns the high-precision bounds of this rectangle. A pretty useless   * method, as this is already a rectangle.   *   * @return a copy of this rectangle   * @see #setBounds(Rectangle)   * @since 1.2   */  public Rectangle2D getBounds2D()  {    return new Rectangle(x, y, width, height);  }  /**   * Updates this rectangle to match the dimensions of the specified   * rectangle.   *   * @param r the rectangle to update from   * @throws NullPointerException if r is null   * @see #setBounds(int, int, int, int)   * @since 1.1   */  public void setBounds(Rectangle r)  {    setBounds (r.x, r.y, r.width, r.height);  }  /**   * Updates this rectangle to have the specified dimensions.   *   * @param x the new X coordinate of the upper left hand corner   * @param y the new Y coordinate of the upper left hand corner   * @param width the new width of this rectangle   * @param height the new height of this rectangle   * @since 1.1   */  public void setBounds(int x, int y, int width, int height)  {    reshape (x, y, width, height);  }  /**   * Updates this rectangle to have the specified dimensions, as rounded to   * integers.   *   * @param x the new X coordinate of the upper left hand corner   * @param y the new Y coordinate of the upper left hand corner   * @param width the new width of this rectangle   * @param height the new height of this rectangle   * @since 1.2   */  public void setRect(double x, double y, double width, double height)  {    this.x = (int) x;    this.y = (int) y;    this.width = (int) width;    this.height = (int) height;  }  /**   * Updates this rectangle to have the specified dimensions.   *   * @param x the new X coordinate of the upper left hand corner   * @param y the new Y coordinate of the upper left hand corner   * @param width the new width of this rectangle   * @param height the new height of this rectangle   * @deprecated use {@link #setBounds(int, int, int, int)} instead   */  public void reshape(int x, int y, int width, int height)  {    this.x = x;    this.y = y;    this.width = width;    this.height = height;  }  /**   * Returns the location of this rectangle, which is the coordinates of   * its upper left corner.   *   * @return the point where this rectangle is located   * @see #setLocation(Point)   * @since 1.1   */  public Point getLocation()  {    return new Point(x,y);  }  /**   * Moves the location of this rectangle by setting its upper left   * corner to the specified point.   *   * @param p the point to move the rectangle to   * @throws NullPointerException if p is null   * @see #getLocation()   * @since 1.1   */  public void setLocation(Point p)  {    setLocation (p.x, p.y);  }  /**   * Moves the location of this rectangle by setting its upper left   * corner to the specified coordinates.   *   * @param x the new X coordinate for this rectangle   * @param y the new Y coordinate for this rectangle   * @since 1.1   */  public void setLocation(int x, int y)  {    move (x, y);  }  /**   * Moves the location of this rectangle by setting its upper left

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产99精品国产| 亚洲午夜久久久久| 国产精品资源站在线| 欧美人妇做爰xxxⅹ性高电影| 中文字幕在线不卡国产视频| 亚洲综合色视频| 午夜精品福利一区二区蜜股av | 免费在线观看视频一区| 欧美日韩免费不卡视频一区二区三区| 一区二区三区在线免费观看| 色成年激情久久综合| 亚洲精品国产成人久久av盗摄| 色综合激情五月| 亚洲精品免费电影| 在线观看成人小视频| 亚洲伊人伊色伊影伊综合网| 欧美日韩在线电影| 日韩不卡一二三区| 日韩精品中文字幕一区二区三区 | 国产精品日日摸夜夜摸av| 丁香六月综合激情| 欧美国产乱子伦 | 欧美视频中文一区二区三区在线观看 | 日韩你懂的在线观看| 久久97超碰国产精品超碰| 精品国产亚洲一区二区三区在线观看| 久久国产精品露脸对白| 欧美精品一区二区不卡| 国产精品一区二区久久精品爱涩| 久久久久久麻豆| 92精品国产成人观看免费| 亚洲一区二区不卡免费| 欧美一区二区三区婷婷月色| 国产乱理伦片在线观看夜一区| 中文字幕欧美日韩一区| 91成人免费电影| 日韩精品久久久久久| 精品国产3级a| 91在线你懂得| 日韩中文欧美在线| 久久久久久麻豆| 99天天综合性| 午夜在线电影亚洲一区| 欧美精品一区二区高清在线观看| 99re热这里只有精品免费视频| 亚洲成av人影院在线观看网| 2023国产精品自拍| 97精品久久久午夜一区二区三区 | 粉嫩av一区二区三区在线播放 | 国产一区二区三区日韩| 亚洲欧美综合另类在线卡通| 欧美日韩中字一区| 激情五月激情综合网| 中文字幕亚洲一区二区av在线 | 国产精品嫩草影院av蜜臀| 日本韩国精品一区二区在线观看| 免费观看一级欧美片| 中文字幕欧美日本乱码一线二线 | 99久久99久久久精品齐齐| 午夜伦欧美伦电影理论片| 国产欧美一区二区在线观看| 欧美在线你懂的| 国产风韵犹存在线视精品| 亚洲激情av在线| 日韩一区二区三区四区五区六区| 成人h动漫精品一区二区| 日日夜夜精品视频天天综合网| 国产欧美日韩精品a在线观看| 欧美在线不卡视频| 国产精品一区在线观看乱码| 亚洲国产wwwccc36天堂| 国产日韩v精品一区二区| 欧美精品乱人伦久久久久久| 东方aⅴ免费观看久久av| 日本欧美一区二区三区乱码| 国产精品二三区| 精品福利一区二区三区免费视频| 在线观看日产精品| 国产精品 日产精品 欧美精品| 亚洲成人精品影院| 国产精品国产三级国产三级人妇 | 欧美精品一区二区在线播放| 色婷婷亚洲精品| 久久精品国产成人一区二区三区| 亚洲精品视频在线看| 精品剧情在线观看| 欧美影片第一页| 99这里只有久久精品视频| 国产一区二区三区美女| 日一区二区三区| 亚洲一区中文日韩| 国产精品久久久久久久第一福利| 欧美一二三在线| 欧美色男人天堂| 91女神在线视频| 国产精品白丝jk白祙喷水网站| 日韩成人精品在线观看| 一区二区三区蜜桃网| 国产精品美女久久久久aⅴ| xf在线a精品一区二区视频网站| 7777精品伊人久久久大香线蕉超级流畅| 99精品视频一区二区三区| 国产一区二区精品在线观看| 美女www一区二区| 日韩国产欧美一区二区三区| 亚洲成人av在线电影| 亚洲三级电影全部在线观看高清| 日本一区二区三区免费乱视频 | 中文字幕一区二区三中文字幕| 2020国产成人综合网| 日韩你懂的在线观看| 日韩一区二区精品在线观看| 91精品国产乱码| 欧美日韩dvd在线观看| 91精彩视频在线观看| 色网综合在线观看| 99精品一区二区| 91视频在线观看| 91网址在线看| 色综合久久88色综合天天免费| zzijzzij亚洲日本少妇熟睡| 成人午夜在线免费| 国产99久久精品| 成人18精品视频| bt7086福利一区国产| 北条麻妃国产九九精品视频| 成人性生交大片免费| av在线一区二区| 91麻豆swag| 欧美三级在线视频| 欧美嫩在线观看| 欧美一级免费观看| 欧美刺激脚交jootjob| 欧美一区二区成人| 日韩女同互慰一区二区| 精品日韩一区二区三区| 久久这里只有精品视频网| 欧美一区二区三区四区高清| 精品日韩在线一区| 国产亚洲欧洲997久久综合| 国产亚洲一区二区三区| 欧美国产禁国产网站cc| 亚洲欧美影音先锋| 亚洲天堂久久久久久久| 一区二区视频在线| 亚洲成人自拍网| 麻豆一区二区99久久久久| 亚洲国产一二三| 国产欧美视频一区二区三区| 国产成人免费高清| 亚洲视频在线观看一区| 欧美一卡二卡在线观看| 国产自产高清不卡| 亚洲欧洲韩国日本视频| 欧美在线视频日韩| 国产乱码精品一区二区三区忘忧草| 青青草伊人久久| 亚洲午夜影视影院在线观看| 91在线一区二区| 色www精品视频在线观看| 欧美性猛片xxxx免费看久爱| 91精品国产91久久久久久一区二区| 日韩欧美亚洲另类制服综合在线| 精品盗摄一区二区三区| 国产精品美女久久久久aⅴ| 一区二区欧美视频| 日韩一区二区在线看| 欧美xxxxxxxx| 国产日韩精品一区二区三区| 久久精子c满五个校花| 国产精品毛片a∨一区二区三区| 中文字幕一区不卡| 亚洲一区在线观看免费| 午夜成人免费电影| 麻豆国产欧美一区二区三区| 韩国精品主播一区二区在线观看 | 国产精品一区2区| 色综合久久综合网| 欧美成人精品二区三区99精品| 国产精品久久久久一区| 视频在线观看一区| 成人一区在线看| 欧美日韩成人综合在线一区二区| 精品粉嫩aⅴ一区二区三区四区| 中文字幕日韩av资源站| 毛片av中文字幕一区二区| 99热国产精品| 精品入口麻豆88视频| 亚洲欧美偷拍另类a∨色屁股| 久久精品99久久久| 色婷婷av一区二区三区软件| 欧美tickle裸体挠脚心vk| 樱花影视一区二区| 国产精品影音先锋| 欧美日韩的一区二区| 一色屋精品亚洲香蕉网站| 老司机免费视频一区二区| 欧美在线观看18| 国产精品久久一卡二卡| 精品在线播放午夜|