java.awt.Graphics2D class, and classes that implement
java.awt.image.BufferedImageOp and
java.awt.image.Raster .
| Modifier and Type | Class and Description |
|---|---|
| public static class | SunHints.
Defines the type of all keys used to control various aspects of the rendering and imaging pipelines. |
| public static class | |
| public static class | SunHints.
Defines the type of all "enumerative" values used to control various aspects of the rendering and imaging pipelines. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | INTKEY_AATEXT_LCD_CONTRAST
LCD text contrast control hint key. |
| public static final int | INTKEY_ALPHA_INTERPOLATION
Alpha interpolation hint key and values |
| public static final int | INTKEY_ANTIALIASING
Antialiasing hint key and values |
| public static final int | INTKEY_COLOR_RENDERING
Color rendering hint key and values |
| public static final int | INTKEY_DITHERING
Dithering hint key and values |
| public static final int | INTKEY_FRACTIONALMETRICS
Font fractional metrics hint key and values |
| public static final int | INTKEY_INTERPOLATION
Interpolation hint key and values |
| public static final int | INTKEY_RENDERING
Rendering hint key and values |
| public static final int | INTKEY_RESOLUTION_VARIANT
Image scaling hint key and values |
| public static final int | INTKEY_STROKE_CONTROL
Stroke normalization control hint key and values |
| public static final int | INTKEY_TEXT_ANTIALIASING
Text antialiasing hint key and values |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final SunHints. | KEY_ALPHA_INTERPOLATION
Alpha interpolation hint key and value objects |
| public static final SunHints. | KEY_ANTIALIASING
Antialiasing hint key and value objects |
| public static final SunHints. | KEY_COLOR_RENDERING
Color rendering hint key and value objects |
| public static final SunHints. | KEY_DITHERING
Dithering hint key and value objects |
| public static final SunHints. | KEY_FRACTIONALMETRICS
Font fractional metrics hint key and value objects |
| public static final SunHints. | KEY_INTERPOLATION
Interpolation hint key and value objects |
| public static final SunHints. | KEY_RENDERING
Rendering hint key and value objects |
| public static final SunHints. | KEY_RESOLUTION_VARIANT
Image resolution variant hint key and value objects |
| public static final SunHints. | KEY_STROKE_CONTROL
Stroke normalization control hint key and value objects |
| public static final RenderingHints. | KEY_TEXT_ANTIALIAS_LCD_CONTRAST
LCD text contrast hint key |
| public static final SunHints. | KEY_TEXT_ANTIALIASING
Text antialiasing hint key and value objects |
| private static final int | |
| private static final int | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object |
| Access | Constructor and Description |
|---|---|
| public |
| INTKEY_AATEXT_LCD_CONTRAST | back to summary |
|---|---|
| public static final int INTKEY_AATEXT_LCD_CONTRAST LCD text contrast control hint key. Value is "100" to make discontiguous with the others which are all enumerative and are of a different class. | |
| INTKEY_ALPHA_INTERPOLATION | back to summary |
|---|---|
| public static final int INTKEY_ALPHA_INTERPOLATION Alpha interpolation hint key and values | |
| INTKEY_ANTIALIASING | back to summary |
|---|---|
| public static final int INTKEY_ANTIALIASING Antialiasing hint key and values | |
| INTKEY_COLOR_RENDERING | back to summary |
|---|---|
| public static final int INTKEY_COLOR_RENDERING Color rendering hint key and values | |
| INTKEY_DITHERING | back to summary |
|---|---|
| public static final int INTKEY_DITHERING Dithering hint key and values | |
| INTKEY_FRACTIONALMETRICS | back to summary |
|---|---|
| public static final int INTKEY_FRACTIONALMETRICS Font fractional metrics hint key and values | |
| INTKEY_INTERPOLATION | back to summary |
|---|---|
| public static final int INTKEY_INTERPOLATION Interpolation hint key and values | |
| INTKEY_RENDERING | back to summary |
|---|---|
| public static final int INTKEY_RENDERING Rendering hint key and values | |
| INTKEY_RESOLUTION_VARIANT | back to summary |
|---|---|
| public static final int INTKEY_RESOLUTION_VARIANT Image scaling hint key and values | |
| INTKEY_STROKE_CONTROL | back to summary |
|---|---|
| public static final int INTKEY_STROKE_CONTROL Stroke normalization control hint key and values | |
| INTKEY_TEXT_ANTIALIASING | back to summary |
|---|---|
| public static final int INTKEY_TEXT_ANTIALIASING Text antialiasing hint key and values | |
| INTVAL_ALPHA_INTERPOLATION_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_ALPHA_INTERPOLATION_DEFAULT
| |
| INTVAL_ALPHA_INTERPOLATION_QUALITY | back to summary |
|---|---|
| public static final int INTVAL_ALPHA_INTERPOLATION_QUALITY
| |
| INTVAL_ALPHA_INTERPOLATION_SPEED | back to summary |
|---|---|
| public static final int INTVAL_ALPHA_INTERPOLATION_SPEED
| |
| INTVAL_ANTIALIAS_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_ANTIALIAS_DEFAULT
| |
| INTVAL_ANTIALIAS_OFF | back to summary |
|---|---|
| public static final int INTVAL_ANTIALIAS_OFF
| |
| INTVAL_ANTIALIAS_ON | back to summary |
|---|---|
| public static final int INTVAL_ANTIALIAS_ON
| |
| INTVAL_COLOR_RENDER_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_COLOR_RENDER_DEFAULT
| |
| INTVAL_COLOR_RENDER_QUALITY | back to summary |
|---|---|
| public static final int INTVAL_COLOR_RENDER_QUALITY
| |
| INTVAL_COLOR_RENDER_SPEED | back to summary |
|---|---|
| public static final int INTVAL_COLOR_RENDER_SPEED
| |
| INTVAL_DITHER_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_DITHER_DEFAULT
| |
| INTVAL_DITHER_DISABLE | back to summary |
|---|---|
| public static final int INTVAL_DITHER_DISABLE
| |
| INTVAL_DITHER_ENABLE | back to summary |
|---|---|
| public static final int INTVAL_DITHER_ENABLE
| |
| INTVAL_FRACTIONALMETRICS_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_FRACTIONALMETRICS_DEFAULT
| |
| INTVAL_FRACTIONALMETRICS_OFF | back to summary |
|---|---|
| public static final int INTVAL_FRACTIONALMETRICS_OFF
| |
| INTVAL_FRACTIONALMETRICS_ON | back to summary |
|---|---|
| public static final int INTVAL_FRACTIONALMETRICS_ON
| |
| INTVAL_INTERPOLATION_BICUBIC | back to summary |
|---|---|
| public static final int INTVAL_INTERPOLATION_BICUBIC
| |
| INTVAL_INTERPOLATION_BILINEAR | back to summary |
|---|---|
| public static final int INTVAL_INTERPOLATION_BILINEAR
| |
| INTVAL_INTERPOLATION_NEAREST_NEIGHBOR | back to summary |
|---|---|
| public static final int INTVAL_INTERPOLATION_NEAREST_NEIGHBOR
| |
| INTVAL_RENDER_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_RENDER_DEFAULT
| |
| INTVAL_RENDER_QUALITY | back to summary |
|---|---|
| public static final int INTVAL_RENDER_QUALITY
| |
| INTVAL_RENDER_SPEED | back to summary |
|---|---|
| public static final int INTVAL_RENDER_SPEED
| |
| INTVAL_RESOLUTION_VARIANT_BASE | back to summary |
|---|---|
| public static final int INTVAL_RESOLUTION_VARIANT_BASE
| |
| INTVAL_RESOLUTION_VARIANT_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_RESOLUTION_VARIANT_DEFAULT
| |
| INTVAL_RESOLUTION_VARIANT_DPI_FIT | back to summary |
|---|---|
| public static final int INTVAL_RESOLUTION_VARIANT_DPI_FIT
| |
| INTVAL_RESOLUTION_VARIANT_SIZE_FIT | back to summary |
|---|---|
| public static final int INTVAL_RESOLUTION_VARIANT_SIZE_FIT
| |
| INTVAL_STROKE_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_STROKE_DEFAULT
| |
| INTVAL_STROKE_NORMALIZE | back to summary |
|---|---|
| public static final int INTVAL_STROKE_NORMALIZE
| |
| INTVAL_STROKE_PURE | back to summary |
|---|---|
| public static final int INTVAL_STROKE_PURE
| |
| INTVAL_TEXT_ANTIALIAS_DEFAULT | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_DEFAULT
| |
| INTVAL_TEXT_ANTIALIAS_GASP | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_GASP
| |
| INTVAL_TEXT_ANTIALIAS_LCD_HBGR | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_LCD_HBGR
| |
| INTVAL_TEXT_ANTIALIAS_LCD_HRGB | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_LCD_HRGB
| |
| INTVAL_TEXT_ANTIALIAS_LCD_VBGR | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_LCD_VBGR
| |
| INTVAL_TEXT_ANTIALIAS_LCD_VRGB | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_LCD_VRGB
| |
| INTVAL_TEXT_ANTIALIAS_OFF | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_OFF
| |
| INTVAL_TEXT_ANTIALIAS_ON | back to summary |
|---|---|
| public static final int INTVAL_TEXT_ANTIALIAS_ON
| |
| KEY_ALPHA_INTERPOLATION | back to summary |
|---|---|
| public static final SunHints. Alpha interpolation hint key and value objects | |
| KEY_ANTIALIASING | back to summary |
|---|---|
| public static final SunHints. Antialiasing hint key and value objects | |
| KEY_COLOR_RENDERING | back to summary |
|---|---|
| public static final SunHints. Color rendering hint key and value objects | |
| KEY_DITHERING | back to summary |
|---|---|
| public static final SunHints. Dithering hint key and value objects | |
| KEY_FRACTIONALMETRICS | back to summary |
|---|---|
| public static final SunHints. Font fractional metrics hint key and value objects | |
| KEY_INTERPOLATION | back to summary |
|---|---|
| public static final SunHints. Interpolation hint key and value objects | |
| KEY_RENDERING | back to summary |
|---|---|
| public static final SunHints. Rendering hint key and value objects | |
| KEY_RESOLUTION_VARIANT | back to summary |
|---|---|
| public static final SunHints. Image resolution variant hint key and value objects | |
| KEY_STROKE_CONTROL | back to summary |
|---|---|
| public static final SunHints. Stroke normalization control hint key and value objects | |
| KEY_TEXT_ANTIALIAS_LCD_CONTRAST | back to summary |
|---|---|
| public static final RenderingHints. LCD text contrast hint key | |
| KEY_TEXT_ANTIALIASING | back to summary |
|---|---|
| public static final SunHints. Text antialiasing hint key and value objects | |
| NUM_KEYS | back to summary |
|---|---|
| private static final int NUM_KEYS | |
| VALS_PER_KEY | back to summary |
|---|---|
| private static final int VALS_PER_KEY | |
| VALUE_ALPHA_INTERPOLATION_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_ALPHA_INTERPOLATION_DEFAULT | |
| VALUE_ALPHA_INTERPOLATION_QUALITY | back to summary |
|---|---|
| public static final Object VALUE_ALPHA_INTERPOLATION_QUALITY | |
| VALUE_ALPHA_INTERPOLATION_SPEED | back to summary |
|---|---|
| public static final Object VALUE_ALPHA_INTERPOLATION_SPEED | |
| VALUE_ANTIALIAS_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_ANTIALIAS_DEFAULT | |
| VALUE_ANTIALIAS_OFF | back to summary |
|---|---|
| public static final Object VALUE_ANTIALIAS_OFF | |
| VALUE_ANTIALIAS_ON | back to summary |
|---|---|
| public static final Object VALUE_ANTIALIAS_ON | |
| VALUE_COLOR_RENDER_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_COLOR_RENDER_DEFAULT | |
| VALUE_COLOR_RENDER_QUALITY | back to summary |
|---|---|
| public static final Object VALUE_COLOR_RENDER_QUALITY | |
| VALUE_COLOR_RENDER_SPEED | back to summary |
|---|---|
| public static final Object VALUE_COLOR_RENDER_SPEED | |
| VALUE_DITHER_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_DITHER_DEFAULT | |
| VALUE_DITHER_DISABLE | back to summary |
|---|---|
| public static final Object VALUE_DITHER_DISABLE | |
| VALUE_DITHER_ENABLE | back to summary |
|---|---|
| public static final Object VALUE_DITHER_ENABLE | |
| VALUE_FRACTIONALMETRICS_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_FRACTIONALMETRICS_DEFAULT | |
| VALUE_FRACTIONALMETRICS_OFF | back to summary |
|---|---|
| public static final Object VALUE_FRACTIONALMETRICS_OFF | |
| VALUE_FRACTIONALMETRICS_ON | back to summary |
|---|---|
| public static final Object VALUE_FRACTIONALMETRICS_ON | |
| VALUE_INTERPOLATION_BICUBIC | back to summary |
|---|---|
| public static final Object VALUE_INTERPOLATION_BICUBIC | |
| VALUE_INTERPOLATION_BILINEAR | back to summary |
|---|---|
| public static final Object VALUE_INTERPOLATION_BILINEAR | |
| VALUE_INTERPOLATION_NEAREST_NEIGHBOR | back to summary |
|---|---|
| public static final Object VALUE_INTERPOLATION_NEAREST_NEIGHBOR | |
| VALUE_RENDER_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_RENDER_DEFAULT | |
| VALUE_RENDER_QUALITY | back to summary |
|---|---|
| public static final Object VALUE_RENDER_QUALITY | |
| VALUE_RENDER_SPEED | back to summary |
|---|---|
| public static final Object VALUE_RENDER_SPEED | |
| VALUE_RESOLUTION_VARIANT_BASE | back to summary |
|---|---|
| public static final Object VALUE_RESOLUTION_VARIANT_BASE | |
| VALUE_RESOLUTION_VARIANT_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_RESOLUTION_VARIANT_DEFAULT | |
| VALUE_RESOLUTION_VARIANT_DPI_FIT | back to summary |
|---|---|
| public static final Object VALUE_RESOLUTION_VARIANT_DPI_FIT | |
| VALUE_RESOLUTION_VARIANT_SIZE_FIT | back to summary |
|---|---|
| public static final Object VALUE_RESOLUTION_VARIANT_SIZE_FIT | |
| VALUE_STROKE_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_STROKE_DEFAULT | |
| VALUE_STROKE_NORMALIZE | back to summary |
|---|---|
| public static final Object VALUE_STROKE_NORMALIZE | |
| VALUE_STROKE_PURE | back to summary |
|---|---|
| public static final Object VALUE_STROKE_PURE | |
| VALUE_TEXT_ANTIALIAS_DEFAULT | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_DEFAULT | |
| VALUE_TEXT_ANTIALIAS_GASP | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_GASP | |
| VALUE_TEXT_ANTIALIAS_LCD_HBGR | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_LCD_HBGR | |
| VALUE_TEXT_ANTIALIAS_LCD_HRGB | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_LCD_HRGB | |
| VALUE_TEXT_ANTIALIAS_LCD_VBGR | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_LCD_VBGR | |
| VALUE_TEXT_ANTIALIAS_LCD_VRGB | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_LCD_VRGB | |
| VALUE_TEXT_ANTIALIAS_OFF | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_OFF | |
| VALUE_TEXT_ANTIALIAS_ON | back to summary |
|---|---|
| public static final Object VALUE_TEXT_ANTIALIAS_ON | |
| SunHints | back to summary |
|---|---|
| public SunHints() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public boolean | isCompatibleValue(Object val)
Implements abstract java. Returns true if the specified object is a valid value for this Key. |
| public final String |
| description | back to summary |
|---|---|
| pack-priv String description | |
| Key | back to summary |
|---|---|
| public Key(int privatekey, String description) Construct a key using the indicated private key. Each subclass of Key maintains its own unique domain of integer keys. No two objects with the same integer key and of the same specific subclass can be constructed. An exception will be thrown if an attempt is made to construct another object of a given class with the same integer key as a pre-existing instance of that subclass of Key. | |
| getIndex | back to summary |
|---|---|
| public final int getIndex() Returns the numeric index associated with this Key. This is useful for use in switch statements and quick lookups of the setting of a particular key. | |
| isCompatibleValue | back to summary |
|---|---|
| public boolean isCompatibleValue(Object val) Implements abstract java. Returns true if the specified object is a valid value for this Key. | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Returns a string representation of the Key. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | isCompatibleValue(Object val)
Overrides sun. Returns true if the specified object is a valid value for this Key. |
| LCDContrastKey | back to summary |
|---|---|
| public LCDContrastKey(int privatekey, String description) | |
| isCompatibleValue | back to summary |
|---|---|
| public final boolean isCompatibleValue(Object val) Overrides sun. Returns true if the specified object is a valid value for this Key. The allowable range is 100 to 250. | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private int | |
| private SunHints. | |
| private static SunHints. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Overrides java. The equals method for all SunHints.Value objects will return the same result as the equality operator '=='. |
| public static SunHints. | |
| public final int | |
| public final int | hashCode()
Overrides java. The hash code for all SunHints.Value objects will be the same as the system identity code of the object as defined by the System.identityHashCode() method. |
| public final boolean | |
| private static synchronized void | |
| public final String |
| description | back to summary |
|---|---|
| private String description | |
| index | back to summary |
|---|---|
| private int index | |
| myKey | back to summary |
|---|---|
| private SunHints. | |
| ValueObjects | back to summary |
|---|---|
| private static SunHints. | |
| Value | back to summary |
|---|---|
| public Value(SunHints. Construct a value using the indicated private index. Each subclass of Value maintains its own unique domain of integer indices. Enforcing the uniqueness of the integer indices is left to the subclass. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Overrides java. The equals method for all SunHints.Value objects will return the same result as the equality operator '=='. | |
| get | back to summary |
|---|---|
| public static SunHints. | |
| getIndex | back to summary |
|---|---|
| public final int getIndex() Returns the numeric index associated with this Key. This is useful for use in switch statements and quick lookups of the setting of a particular key. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Overrides java. The hash code for all SunHints.Value objects will be the same as the system identity code of the object as defined by the System.identityHashCode() method. | |
| isCompatibleKey | back to summary |
|---|---|
| public final boolean isCompatibleKey(SunHints. Returns true if the specified object is a valid Key for this Value. | |
| register | back to summary |
|---|---|
| private static synchronized void register(SunHints. | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Returns a string representation of this Value. | |