Class VideoGreyFadingMediaDevice

  • All Implemented Interfaces:
    MediaDevice

    public class VideoGreyFadingMediaDevice
    extends MediaDeviceImpl
    Implements a MediaDevice which provides a fading animation from white to black to white... in form of video.
    Author:
    Thomas Kuntz
    • Field Detail

      • DEFAULT_FRAMERATE

        public static final int DEFAULT_FRAMERATE
        The default framerate theMediaDevice will have.
        See Also:
        Constant Field Values
      • DEFAULT_DIMENSION

        public static final Dimension DEFAULT_DIMENSION
        The default dimension theMediaDevice will have.
    • Constructor Detail

      • VideoGreyFadingMediaDevice

        public VideoGreyFadingMediaDevice()
        Initializes a new VideoGreyFadingMediaDevice with default framerate and dimension.
      • VideoGreyFadingMediaDevice

        public VideoGreyFadingMediaDevice​(int framerate)
        Initializes a new VideoGreyFadingMediaDevice with the given framerate and the default dimension.
        Parameters:
        framerate - the framerate of the CaptureDevice behind this MediaDevice.
      • VideoGreyFadingMediaDevice

        public VideoGreyFadingMediaDevice​(Dimension dimension)
        Initializes a new VideoGreyFadingMediaDevice with the given dimension and the default framerate.
        Parameters:
        dimension - the dimension (width and height) of the CaptureDevice behind this MediaDevice.
      • VideoGreyFadingMediaDevice

        public VideoGreyFadingMediaDevice​(int framerate,
                                          Dimension dimension)
        Initializes a new VideoGreyFadingMediaDevice with the given framerate and dimension.
        Parameters:
        framerate - the framerate of the CaptureDevice behind this MediaDevice.
        dimension - the dimension (width and height) of the CaptureDevice behind this MediaDevice.