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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rectangle.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜久久久影院| 国产成人午夜99999| 日韩亚洲欧美一区二区三区| 欧美日韩国产一区| 国产日韩欧美一区二区三区乱码| 欧美一级理论性理论a| 欧美在线视频不卡| 亚洲欧洲三级电影| 国产麻豆一精品一av一免费 | 国产综合色视频| 国产成人在线网站| 在线电影院国产精品| 亚洲精品国产无天堂网2021 | 91视频一区二区| 国产精品对白交换视频| 91极品视觉盛宴| 亚洲一区二区三区中文字幕| 欧美日韩视频在线一区二区| 日本亚洲免费观看| 欧美激情一区二区三区在线| 成人禁用看黄a在线| 亚洲天堂av老司机| 欧美日韩成人综合| 亚洲综合成人网| 成人免费毛片a| 久久久亚洲午夜电影| 亚洲成人动漫精品| 日韩精品一区二| 日韩精彩视频在线观看| 91精品国产综合久久福利软件| 一区二区三区蜜桃网| 欧美色中文字幕| 天天综合天天综合色| 色综合久久久久久久| 亚洲精品中文在线影院| 精品在线观看视频| 欧美日韩国产成人在线免费| 国产精品久久夜| 国产日韩精品一区二区三区| 国精产品一区一区三区mba视频 | 成人午夜视频在线| 国产欧美一区二区精品忘忧草 | 日韩三级伦理片妻子的秘密按摩| 国产精品一级二级三级| 亚洲五码中文字幕| 亚洲免费观看高清完整版在线| 日韩精品一区二区三区swag| 欧美色综合久久| 在线欧美日韩国产| 91麻豆免费看片| 色综合久久中文字幕| 国产精品一区二区在线播放 | 看电视剧不卡顿的网站| 91精品国产91久久综合桃花| 亚洲国产精品久久一线不卡| 日韩精品一区二区三区视频| 丁香啪啪综合成人亚洲小说| 亚洲最新视频在线播放| 欧美xxxx老人做受| 欧美日韩亚洲综合一区| 国产综合久久久久久鬼色| 国产精品免费av| 欧美夫妻性生活| 国产成人综合亚洲网站| 午夜精品久久久久久不卡8050| 欧美高清性hdvideosex| 色婷婷综合久久久久中文一区二区 | 欧美日韩精品一区二区| 国产999精品久久久久久 | 国产精品18久久久久久久网站| 奇米精品一区二区三区在线观看 | 欧美精品久久久久久久多人混战 | 亚洲精品在线免费观看视频| 91捆绑美女网站| 激情六月婷婷综合| 日韩va亚洲va欧美va久久| 欧美在线啊v一区| 91免费视频网址| 一本一道久久a久久精品| 91麻豆精东视频| 色丁香久综合在线久综合在线观看| 久久 天天综合| 日韩av中文字幕一区二区| 国产精品午夜在线观看| 欧美日韩高清在线播放| 欧美日韩和欧美的一区二区| 激情六月婷婷久久| 成人av午夜影院| 欧美草草影院在线视频| 国产激情精品久久久第一区二区| 婷婷综合另类小说色区| 国产视频一区在线播放| 日本一区二区免费在线观看视频 | 三级一区在线视频先锋 | 国产免费久久精品| 亚洲v日本v欧美v久久精品| 菠萝蜜视频在线观看一区| 欧美一区二区三区四区在线观看 | 日本sm残虐另类| 精品一区二区三区影院在线午夜| 久久99精品国产.久久久久久 | 972aa.com艺术欧美| 色综合久久久久久久| 欧美日韩在线播放| 亚洲欧美日韩国产另类专区| 日韩—二三区免费观看av| 成人免费视频一区二区| 精品视频在线免费看| 久久精品亚洲国产奇米99| 亚洲免费观看高清完整| 激情图片小说一区| 99久久免费国产| 欧美一区二区精美| 一区二区三区在线播放| 亚洲午夜视频在线| 欧美顶级少妇做爰| 粉嫩高潮美女一区二区三区| 国产高清亚洲一区| 成人性视频免费网站| 欧美一区二区三区成人| 久久伊人中文字幕| 日韩精彩视频在线观看| 在线观看国产91| 夜夜爽夜夜爽精品视频| 日韩一区二区麻豆国产| 亚洲精品视频在线观看免费| 91精品国产色综合久久久蜜香臀| 国产一区二区精品久久91| 亚洲电影第三页| 亚洲精品伦理在线| 久久久久久久久久久电影| 91免费看片在线观看| 国产在线不卡一卡二卡三卡四卡| 亚洲自拍另类综合| 亚洲国产精品精华液2区45| 日韩三级中文字幕| 91福利在线免费观看| www.亚洲免费av| 国产麻豆欧美日韩一区| 国产色综合久久| 色94色欧美sute亚洲线路一久| 亚洲与欧洲av电影| 欧美在线观看一二区| 国产精品亚洲人在线观看| 欧美经典一区二区三区| 国产精品中文字幕一区二区三区| 亚洲精品国产精华液| 欧美一级日韩一级| 成人精品视频一区二区三区| 亚洲高清视频在线| 国产日产欧美精品一区二区三区| 国产一区二区不卡在线| 樱桃视频在线观看一区| 久久影视一区二区| 不卡一区二区中文字幕| 一区二区三区国产| 久久日一线二线三线suv| 国产91精品一区二区麻豆网站| 日本成人在线电影网| 蜜臀久久久久久久| 国产亚洲一本大道中文在线| 国产乱子伦视频一区二区三区| 久久久av毛片精品| 欧美成人艳星乳罩| 欧美另类变人与禽xxxxx| 色哟哟亚洲精品| 色婷婷久久一区二区三区麻豆| 91麻豆视频网站| 黄色资源网久久资源365| 国产一区二区三区蝌蚪| 国产成人aaa| 欧美乱熟臀69xxxxxx| 国产精品久久99| 美女一区二区视频| 成人av电影免费观看| 精品黑人一区二区三区久久| 国产精品久久综合| 毛片av一区二区三区| 99久久国产综合精品色伊| 日韩精品在线一区| 亚洲女同ⅹxx女同tv| 国产精品综合视频| 7777精品伊人久久久大香线蕉完整版 | 欧洲av一区二区嗯嗯嗯啊| 国产麻豆成人传媒免费观看| 国内成+人亚洲+欧美+综合在线| 国产精品一卡二| 成人在线综合网| 欧美日韩国产免费一区二区 | 69堂亚洲精品首页| 日韩视频免费观看高清完整版 | 欧美视频精品在线| 国产剧情一区二区三区| 欧美日韩中文字幕精品| 亚洲免费av观看| 激情小说欧美图片| 国产成人免费在线视频| 国产成人精品亚洲午夜麻豆| 99久久久免费精品国产一区二区| 欧美日韩中字一区|