软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
static RenderingHints.Key |
RenderingHints.KEY_ALPHA_INTERPOLATION
阿尔法插值提示键。
|
static RenderingHints.Key |
RenderingHints.KEY_ANTIALIASING
抗锯齿提示关键。
|
static RenderingHints.Key |
RenderingHints.KEY_COLOR_RENDERING
颜色绘制提示键。
|
static RenderingHints.Key |
RenderingHints.KEY_DITHERING
抖动提示关键。
|
static RenderingHints.Key |
RenderingHints.KEY_FRACTIONALMETRICS
字体分数度量提示键。
|
static RenderingHints.Key |
RenderingHints.KEY_INTERPOLATION
插值提示键。
|
static RenderingHints.Key |
RenderingHints.KEY_RENDERING
渲染提示键。
|
static RenderingHints.Key |
RenderingHints.KEY_STROKE_CONTROL
行程正常化控制提示键。
|
static RenderingHints.Key |
RenderingHints.KEY_TEXT_ANTIALIASING
抗锯齿提示文本的关键。
|
static RenderingHints.Key |
RenderingHints.KEY_TEXT_LCD_CONTRAST
液晶文本对比度渲染提示键。
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
Graphics2D.getRenderingHint(RenderingHints.Key hintKey)
返回一个单独的渲染算法的偏好值。
|
abstract void |
Graphics2D.setRenderingHint(RenderingHints.Key hintKey, Object hintValue)
设置一个单独的渲染算法的偏好值。
|
Constructor and Description |
---|
RenderingHints(RenderingHints.Key key, Object value)
用指定的键/值对构造一个新的对象。
|
Constructor and Description |
---|
RenderingHints(Map<RenderingHints.Key,?> init)
用从指定的映射对象初始化的键和值构造一个新的对象,该对象可能是空的。
|
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.