Class GraphicConfiguration
java.lang.Object
de.gurkenlabs.litiengine.configuration.ConfigurationGroup
de.gurkenlabs.litiengine.configuration.GraphicConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListener -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanGets the graphic quality.Gets the resolution.intintbooleanbooleanvoidsetAntiAliasing(boolean antiAliasing) voidsetColorInterpolation(boolean colorInterpolation) voidsetDisplayMode(DisplayMode displayMode) voidsetEnableResolutionScale(boolean enableResolutionScale) voidsetGraphicQuality(Quality graphicQuality) Sets the graphic quality.voidsetReduceFramesWhenNotFocused(boolean reduceFramesWhenNotFocused) voidsetRenderDynamicShadows(boolean renderDynamicShadows) voidsetResolutionHeight(int resolutionHeight) voidsetResolutionWidth(int resolutionWidth) Methods inherited from class de.gurkenlabs.litiengine.configuration.ConfigurationGroup
getPrefix, initializeByProperty, isDebug, onChanged, removeListener, set, setDebug, storeProperties
-
Method Details
-
getGraphicQuality
Gets the graphic quality.- Returns:
- the graphic quality
-
getResolution
Gets the resolution.- Returns:
- the resolution
-
getResolutionHeight
public int getResolutionHeight() -
getResolutionWidth
public int getResolutionWidth() -
renderDynamicShadows
public boolean renderDynamicShadows() -
antiAlising
public boolean antiAlising() -
colorInterpolation
public boolean colorInterpolation() -
getDisplayMode
-
setDisplayMode
-
setGraphicQuality
Sets the graphic quality.- Parameters:
graphicQuality- the new graphic quality
-
setRenderDynamicShadows
public void setRenderDynamicShadows(boolean renderDynamicShadows) -
setResolutionHeight
public void setResolutionHeight(int resolutionHeight) -
setResolutionWidth
public void setResolutionWidth(int resolutionWidth) -
enableResolutionScaling
public boolean enableResolutionScaling() -
setEnableResolutionScale
public void setEnableResolutionScale(boolean enableResolutionScale) -
reduceFramesWhenNotFocused
public boolean reduceFramesWhenNotFocused() -
setReduceFramesWhenNotFocused
public void setReduceFramesWhenNotFocused(boolean reduceFramesWhenNotFocused) -
setAntiAliasing
public void setAntiAliasing(boolean antiAliasing) -
setColorInterpolation
public void setColorInterpolation(boolean colorInterpolation)
-