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

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

?? paper.java

?? JAVA基本類源代碼,大家可以學習學習!
?? JAVA
字號:
/* * @(#)Paper.java	1.16 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.awt.print;import java.awt.geom.Rectangle2D;/** * The <code>Paper</code> class describes the physical characteristics of * a piece of paper. * <p> * When creating a <code>Paper</code> object, it is the application's  * responsibility to ensure that the paper size and the imageable area * are compatible.  For example, if the paper size is changed from  * 11 x 17 to 8.5 x 11, the application might need to reduce the  * imageable area so that whatever is printed fits on the page. * <p> * @see #setSize(double, double) * @see #setImageableArea(double, double, double, double) */public class Paper implements Cloneable { /* Private Class Variables */    private static final int INCH = 72;    private static final double LETTER_WIDTH = 8.5 * INCH;    private static final double LETTER_HEIGHT = 11 * INCH; /* Instance Variables */    /**     * The height of the physical page in 1/72nds     * of an inch. The number is stored as a floating     * point value rather than as an integer     * to facilitate the conversion from metric     * units to 1/72nds of an inch and then back.     * (This may or may not be a good enough reason     * for a float).     */    private double mHeight;    /**     * The width of the physical page in 1/72nds     * of an inch.     */    private double mWidth;    /**     * The area of the page on which drawing will     * be visable. The area outside of this     * rectangle but on the Page generally     * reflects the printer's hardware margins.     * The origin of the physical page is     * at (0, 0) with this rectangle provided     * in that coordinate system.     */    private Rectangle2D mImageableArea; /* Constructors */    /**     * Creates a letter sized piece of paper     * with one inch margins.     */    public Paper() {	mHeight = LETTER_HEIGHT;	mWidth = LETTER_WIDTH;	mImageableArea = new Rectangle2D.Double(INCH, INCH,						mWidth - 2 * INCH,						mHeight - 2 * INCH);    } /* Instance Methods */    /**     * Creates a copy of this <code>Paper</code> with the same contents     * as this <code>Paper</code>.     * @return a copy of this <code>Paper</code>.     */    public Object clone() {	Paper newPaper;	try {	    /* It's okay to copy the reference to the imageable	     * area into the clone since we always return a copy	     * of the imageable area when asked for it.	     */	    newPaper = (Paper) super.clone();	} catch (CloneNotSupportedException e) {	    e.printStackTrace();	    newPaper = null;	// should never happen.	}	return newPaper;    }    /**     * Returns the height of the page in 1/72nds of an inch.     * @return the height of the page described by this     *		<code>Paper</code>.     */    public double getHeight() {	return mHeight;    }    /**     * Sets the width and height of this <code>Paper</code>     * object, which represents the properties of the page onto     * which printing occurs.     * The dimensions are supplied in 1/72nds of     * an inch.     * @param width the value to which to set this <code>Paper</code>     * object's width     * @param height the value to which to set this <code>Paper</code>     * object's height     */    public void setSize(double width, double height) {	mWidth = width;	mHeight = height;    }    /**     * Returns the width of the page in 1/72nds     * of an inch.     * @return the width of the page described by this     * <code>Paper</code>.     */    public double getWidth() {	return mWidth;    }    /**     * Sets the imageable area of this <code>Paper</code>.  The      * imageable area is the area on the page in which printing     * occurs.      * @param x,&nbsp;y the coordinates to which to set the     * upper-left corner of the imageable area of this <code>Paper</code>     * @param width the value to which to set the width of the      * imageable area of this <code>Paper</code>     * @param height the value to which to set the height of the     * imageable area of this <code>Paper</code>     */    public void setImageableArea(double x, double y,				 double width, double height) {	mImageableArea = new Rectangle2D.Double(x, y, width,height);    }    /**     * Returns the x coordinate of the upper-left corner of this     * <code>Paper</code> object's imageable area.     * @return the x coordinate of the imageable area.     */    public double getImageableX() {	return mImageableArea.getX();    }    /**     * Returns the y coordinate of the upper-left corner of this     * <code>Paper</code> object's imageable area.     * @return the y coordinate of the imageable area.     */    public double getImageableY() {	return mImageableArea.getY();    }    /**     * Returns the width of this <code>Paper</code> object's imageable     * area.     * @return the width of the imageable area.     */    public double getImageableWidth() {	return mImageableArea.getWidth();    }    /**     * Returns the height of this <code>Paper</code> object's imageable     * area.     * @return the height of the imageable area.        */    public double getImageableHeight() {	return mImageableArea.getHeight();    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
这里只有精品99re| 91麻豆国产香蕉久久精品| 国产精品美女一区二区三区| 日韩一区二区高清| 欧美va天堂va视频va在线| 99久久精品国产麻豆演员表| 国产美女一区二区三区| 精品亚洲porn| 男男视频亚洲欧美| 视频在线观看一区| 日韩精品一二三| 日韩高清不卡一区| 日韩精品亚洲一区二区三区免费| 精品国产自在久精品国产| 56国语精品自产拍在线观看| 欧美日本高清视频在线观看| 欧美日韩日日夜夜| 3atv一区二区三区| 91精品国产色综合久久| 91精品在线麻豆| 日韩美女一区二区三区四区| 欧美va亚洲va在线观看蝴蝶网| 日韩欧美一二三四区| 欧美大黄免费观看| 久久久久久影视| 国产精品视频一二三| 综合久久国产九一剧情麻豆| 一区二区三区久久久| 偷拍亚洲欧洲综合| 久久99最新地址| 国产a视频精品免费观看| av一区二区三区四区| 色婷婷久久久综合中文字幕| 欧美系列亚洲系列| 日韩女同互慰一区二区| 久久久精品免费免费| 18成人在线视频| 污片在线观看一区二区| 国产一区二区三区久久久| 成人动漫在线一区| 欧美色大人视频| 欧美精品一区二区三区蜜桃视频| 国产欧美一区二区三区鸳鸯浴 | 午夜精品一区在线观看| 免费欧美高清视频| 国产大陆a不卡| 色婷婷激情综合| 欧美一区二区三区日韩视频| 久久―日本道色综合久久| 国产精品美女久久久久高潮| 亚洲成人中文在线| 国产成人在线色| 欧美精品vⅰdeose4hd| 国产人成亚洲第一网站在线播放 | 蜜芽一区二区三区| 国产成人精品在线看| 欧美性xxxxx极品少妇| 久久免费看少妇高潮| 亚洲精品成人精品456| 奇米影视一区二区三区| 91亚洲精华国产精华精华液| 日韩一区二区免费在线电影| 1000精品久久久久久久久| 久久精品国产在热久久| 日本黄色一区二区| 久久精品人人做人人爽97| 亚洲18女电影在线观看| 成人性生交大片免费| 欧美一区二区三区啪啪| 亚洲女同女同女同女同女同69| 精品一区二区三区在线观看国产| 99国产精品久久久久久久久久| 欧美一区二区播放| 亚洲成人在线免费| 日本高清无吗v一区| 中文字幕不卡在线| 久久精品噜噜噜成人av农村| 欧美在线视频不卡| 自拍偷拍亚洲综合| 国产91对白在线观看九色| 日韩一区二区三区免费看 | 18欧美亚洲精品| 国模大尺度一区二区三区| 欧美美女喷水视频| 亚洲欧美日韩在线| 91在线视频观看| 中文字幕中文字幕一区| 成人精品小蝌蚪| 国产精品久久久久aaaa樱花| 丁香网亚洲国际| 欧美国产日本视频| 99久久精品免费看国产| 日本一区二区三区国色天香| 国产在线精品一区二区| 精品第一国产综合精品aⅴ| 久久99精品久久久久婷婷| 99re成人精品视频| 精品国产一区二区三区忘忧草| 午夜精品一区二区三区三上悠亚| 在线观看av不卡| 亚洲一区二区五区| 欧美调教femdomvk| 亚洲成人综合网站| 欧美久久婷婷综合色| 婷婷六月综合亚洲| 在线播放视频一区| 奇米777欧美一区二区| 日韩三级中文字幕| 精品一二三四在线| 国产日韩成人精品| 国产69精品久久99不卡| 国产精品久线观看视频| 97se亚洲国产综合在线| 亚洲精品成人在线| 欧美美女一区二区三区| 蓝色福利精品导航| 国产日韩欧美综合在线| 99视频一区二区| 亚洲一区免费观看| 日韩精品一区二区三区中文精品| 精品无人码麻豆乱码1区2区 | 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 欧美日韩精品专区| 蜜桃91丨九色丨蝌蚪91桃色| 精品91自产拍在线观看一区| jlzzjlzz国产精品久久| 亚洲国产精品精华液网站| 欧美不卡123| 99视频国产精品| 日本欧美韩国一区三区| 国产精品无人区| 欧美日韩亚州综合| 成人综合日日夜夜| 亚洲成人av电影| 国产区在线观看成人精品| 欧美在线免费视屏| 国产激情一区二区三区四区| 亚洲综合色丁香婷婷六月图片| 欧美电影免费观看高清完整版在线 | 成人午夜短视频| 三级亚洲高清视频| 国产色婷婷亚洲99精品小说| 色成年激情久久综合| 久久 天天综合| 一区二区三区加勒比av| 久久色在线观看| 欧美日韩一区精品| 成人高清伦理免费影院在线观看| 日精品一区二区| 成人欧美一区二区三区1314| 日韩欧美国产小视频| 欧美亚洲丝袜传媒另类| 成人黄色小视频| 国产一区二区三区四| 日韩在线播放一区二区| 一区二区三区资源| 国产精品美女www爽爽爽| 6080yy午夜一二三区久久| 日本高清无吗v一区| 粉嫩高潮美女一区二区三区| 久久国产精品第一页| 亚洲一区二区中文在线| 日韩毛片精品高清免费| 日本一区二区不卡视频| 日韩精品专区在线影院重磅| 欧美日韩dvd在线观看| 在线亚洲一区观看| 91社区在线播放| 波多野结衣一区二区三区 | 欧美一级搡bbbb搡bbbb| 精品1区2区3区| 色94色欧美sute亚洲线路一ni| 国产99久久久精品| 国产精品综合视频| 国产精品羞羞答答xxdd| 国产精品资源站在线| 国产精品自拍一区| 国产成人在线视频网站| 国产成人精品午夜视频免费| 国产伦精品一区二区三区视频青涩| 免费不卡在线视频| 乱中年女人伦av一区二区| 美女www一区二区| 久久精品国内一区二区三区| 毛片av一区二区| 久久激情五月婷婷| 国产精品1区二区.| 成人污污视频在线观看| www.亚洲色图.com| 91国偷自产一区二区开放时间 | 亚洲成av人片在www色猫咪| 亚洲精品高清视频在线观看| 亚洲色大成网站www久久九九| 一区在线中文字幕| 有码一区二区三区| 午夜视黄欧洲亚洲| 精品亚洲国内自在自线福利| 国产成人夜色高潮福利影视| 成人动漫视频在线| 欧美综合欧美视频|