Class VideoMode

    • Constructor Detail

      • VideoMode

        public VideoMode​(int pixelFormat,
                         int width,
                         int height,
                         int fps)
        Create a new video mode.
        Parameters:
        pixelFormat - The pixel format enum as an integer.
        width - The image width in pixels.
        height - The image height in pixels.
        fps - The camera's frames per second.
      • VideoMode

        public VideoMode​(VideoMode.PixelFormat pixelFormat,
                         int width,
                         int height,
                         int fps)
        Create a new video mode.
        Parameters:
        pixelFormat - The pixel format.
        width - The image width in pixels.
        height - The image height in pixels.
        fps - The camera's frames per second.