public class VideoMode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VideoMode.PixelFormat |
Modifier and Type | Field and Description |
---|---|
int |
fps
Frames per second.
|
int |
height
Height in pixels.
|
VideoMode.PixelFormat |
pixelFormat
Pixel format.
|
int |
width
Width in pixels.
|
Constructor and Description |
---|
VideoMode(int pixelFormat,
int width,
int height,
int fps)
Create a new video mode.
|
VideoMode(VideoMode.PixelFormat pixelFormat,
int width,
int height,
int fps)
Create a new video mode.
|
Modifier and Type | Method and Description |
---|---|
static VideoMode.PixelFormat |
getPixelFormatFromInt(int pixelFormat) |
public VideoMode.PixelFormat pixelFormat
public int width
public int height
public int fps
public VideoMode(int pixelFormat, int width, int height, int fps)
public VideoMode(VideoMode.PixelFormat pixelFormat, int width, int height, int fps)
public static VideoMode.PixelFormat getPixelFormatFromInt(int pixelFormat)