public class GraphicConfiguration extends ConfigurationGroup
| Constructor and Description |
|---|
GraphicConfiguration()
Instantiates a new graphic configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
antiAlising() |
boolean |
colorInterpolation() |
boolean |
enableResolutionScaling() |
Quality |
getGraphicQuality()
Gets the graphic quality.
|
java.awt.Dimension |
getResolution()
Gets the resolution.
|
int |
getResolutionHeight() |
int |
getResolutionWidth() |
boolean |
isFullscreen()
Checks if is fullscreen.
|
boolean |
reduceFramesWhenNotFocused() |
boolean |
renderDynamicShadows() |
void |
setAntiAliasing(boolean antiAliasing) |
void |
setColorInterpolation(boolean colorInterpolation) |
void |
setEnableResolutionScale(boolean enableResolutionScale) |
void |
setFullscreen(boolean fullscreen)
Sets the fullscreen.
|
void |
setGraphicQuality(Quality graphicQuality)
Sets the graphic quality.
|
void |
setReduceFramesWhenNotFocused(boolean reduceFramesWhenNotFocused) |
void |
setRenderDynamicShadows(boolean renderDynamicShadows) |
void |
setResolutionHeight(int resolutionHeight) |
void |
setResolutionWidth(int resolutionWidth) |
getPrefix, initializeByProperty, isDebug, setDebug, storePropertiespublic GraphicConfiguration()
public Quality getGraphicQuality()
public java.awt.Dimension getResolution()
public int getResolutionHeight()
public int getResolutionWidth()
public boolean isFullscreen()
public boolean renderDynamicShadows()
public boolean antiAlising()
public boolean colorInterpolation()
public void setFullscreen(boolean fullscreen)
fullscreen - the new fullscreenpublic void setGraphicQuality(Quality graphicQuality)
graphicQuality - the new graphic qualitypublic void setRenderDynamicShadows(boolean renderDynamicShadows)
public void setResolutionHeight(int resolutionHeight)
public void setResolutionWidth(int resolutionWidth)
public boolean enableResolutionScaling()
public void setEnableResolutionScale(boolean enableResolutionScale)
public boolean reduceFramesWhenNotFocused()
public void setReduceFramesWhenNotFocused(boolean reduceFramesWhenNotFocused)
public void setAntiAliasing(boolean antiAliasing)
public void setColorInterpolation(boolean colorInterpolation)