public static class RenderingSettings.ColorRenderingSettings extends Object
| Constructor and Description |
|---|
ColorRenderingSettings() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds specified user-class instance that needs to be notified of changes
in the color-rendering settings.
|
AlphaInterpolation |
getAlphaInterpolation()
Returns how alpha channel values are composited against their background
colors.
|
ColorRendering |
getColorRendering()
Returns current color-rendering optimization option.
|
Dithering |
getDithering()
Returns current image-dithering settings.
|
void |
setAlphaInterpolation(AlphaInterpolation alphaInterpolation)
Specifies how alpha channel values need to be composited against their
background colors.
|
void |
setColorRendering(ColorRendering colorRendering)
Sets specified color-rendering optimization settings.
|
void |
setDithering(Dithering dithering)
Specifies image-dithering settings.
|
String |
toString() |
public Dithering getDithering()
public void setDithering(Dithering dithering)
dithering - image-dithering settings that need to be setpublic AlphaInterpolation getAlphaInterpolation()
public void setAlphaInterpolation(AlphaInterpolation alphaInterpolation)
alphaInterpolation - how alpha channel values need to be compositedpublic ColorRendering getColorRendering()
public void setColorRendering(ColorRendering colorRendering)
colorRendering - color-rendering optimization settings that needs to be appliedpublic void addPropertyChangeListener(PropertyChangeListener listener)
listener - listener that needs to be added