Class VideoMode


  • public class VideoMode
    extends Object
    Video mode.
    • Field Detail

      • width

        public int width
        Width in pixels.
      • height

        public int height
        Height in pixels.
      • fps

        public int fps
        Frames per second.
    • Constructor Detail

      • VideoMode

        public VideoMode​(int pixelFormat,
                         int width,
                         int height,
                         int fps)
        Create a new video mode.
      • VideoMode

        public VideoMode​(VideoMode.PixelFormat pixelFormat,
                         int width,
                         int height,
                         int fps)
        Create a new video mode.
    • Method Detail