com.b3dgs.lionengine.core
Interface Display


public interface Display

Describe screen configuration (width, height, rate, windowed).


Method Summary
 int getDepth()
          Get current screen depth.
 int getDesiredRate()
          Get desired rate (not the real value).
 int getHeight()
          Get current screen height.
 Ratio getRatio()
          Get screen ratio (ex: 4/3).
 int getWidth()
          Get current screen width.
 boolean isWindowed()
          Get windowed state (true=windowed).
 

Method Detail

getWidth

int getWidth()
Get current screen width.

Returns:
current screen width.

getHeight

int getHeight()
Get current screen height.

Returns:
current screen height.

getDepth

int getDepth()
Get current screen depth.

Returns:
current screen depth.

getDesiredRate

int getDesiredRate()
Get desired rate (not the real value).

Returns:
desired rate

isWindowed

boolean isWindowed()
Get windowed state (true=windowed).

Returns:
windowed state.

getRatio

Ratio getRatio()
Get screen ratio (ex: 4/3).

Returns:
current screen ratio.