| Constructor and Description |
|---|
Paper()
创建一个字母大小的纸,一英寸的边距。
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
创建此副本
Paper具有相同的内容,因为这
Paper 。
|
double |
getHeight()
返回页面的高度为1/72英寸。
|
double |
getImageableHeight()
返回此
Paper对象的可成像区域的高度。
|
double |
getImageableWidth()
返回此
Paper对象的可成像区域的宽度。
|
double |
getImageableX()
返回此
Paper对象的可成像区域的左上角的x坐标。
|
double |
getImageableY()
返回此
Paper对象的可成像区域的左上角的y坐标。
|
double |
getWidth()
返回1 / 72nds英寸的页面宽度。
|
void |
setImageableArea(double x, double y, double width, double height)
设置此可成像区域
Paper 。
|
void |
setSize(double width, double height)
设置此
Paper对象的宽度和高度,该对象表示发生打印的页面的属性。
|
public Object clone()
Paper具有相同的内容,因为这
Paper 。
public double getHeight()
Paper 。
public void setSize(double width,
double height)
Paper对象的宽度和高度,该对象表示发生打印的页面的属性。
尺寸以1/72英寸提供。
width -的值来设置此
Paper对象的宽度
height - 要设置此
Paper对象的高度的值
public double getWidth()
Paper 。
public void setImageableArea(double x,
double y,
double width,
double height)
Paper 。
可成像区域是打印发生在页面上的区域。
x - 要设置此可成像区域左上角的X坐标
Paper
y - 要设置此可成像区域的左上角的Y坐标
Paper
width - 设置此可成像区域的宽度的值
Paper
height - 设置此可成像区域的高度的值
Paper
public double getImageableX()
Paper对象的可成像区域的左上角的x坐标。
public double getImageableY()
Paper对象的可成像区域的左上角的y坐标。
public double getImageableWidth()
Paper对象的可成像区域的宽度。
public double getImageableHeight()
Paper对象的可成像区域的高度。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.