软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
static PageAttributes.OriginType |
PageAttributes.OriginType.PHYSICAL
的origintype实例使用指定的物理起源。
|
static PageAttributes.OriginType |
PageAttributes.OriginType.PRINTABLE
的origintype实例使用指定打印原点。
|
Modifier and Type | Method and Description |
---|---|
PageAttributes.OriginType |
PageAttributes.getOrigin()
返回是否画在(0,0)使用这些属性页将在物理页面的左上角,或在可打印区域的左上角。
|
Modifier and Type | Method and Description |
---|---|
void |
PageAttributes.setOrigin(PageAttributes.OriginType origin)
指定是否在(0,0)使用这些属性页将在物理页面的左上角,或在可打印区域的左上角。
|
Constructor and Description |
---|
PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)
构建了一个pageattributes实例为每个属性指定的值。
|
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.