Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field and Description |
---|---|
static RenderingHints.Key |
RenderingHints.KEY_ALPHA_INTERPOLATION
Alpha interpolation hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_ANTIALIASING
Antialiasing hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_COLOR_RENDERING
Color rendering hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_DITHERING
Dithering hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_FRACTIONALMETRICS
Font fractional metrics hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_INTERPOLATION
Interpolation hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_RENDERING
Rendering hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_STROKE_CONTROL
Stroke normalization control hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_TEXT_ANTIALIASING
Text antialiasing hint key.
|
static RenderingHints.Key |
RenderingHints.KEY_TEXT_LCD_CONTRAST
LCD text contrast rendering hint key.
|
Modifier and Type | Method and Description |
---|---|
abstract Object |
Graphics2D.getRenderingHint(RenderingHints.Key hintKey)
Returns the value of a single preference for the rendering algorithms.
|
abstract void |
Graphics2D.setRenderingHint(RenderingHints.Key hintKey,
Object hintValue)
Sets the value of a single preference for the rendering algorithms.
|
Constructor and Description |
---|
RenderingHints(RenderingHints.Key key,
Object value)
Constructs a new object with the specified key/value pair.
|
Constructor and Description |
---|
RenderingHints(Map<RenderingHints.Key,?> init)
Constructs a new object with keys and values initialized
from the specified Map object which may be null.
|
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, 2012, Oracle and/or its affiliates. All rights reserved.