Class GIFStatusOverlay
- Namespace
- VisioForge.Core.Types
- Assembly
- VisioForge.Core.dll
Represents a status overlay that displays an animated GIF image on top of a video stream.
public class GIFStatusOverlay : IStatusOverlayInheritance
Implements
Inherited Members
Examples
// Load a GIF file and create an overlay
byte[] gifData = File.ReadAllBytes("recording_indicator.gif");
var gifOverlay = new GIFStatusOverlay
{
ImageBytes = gifData
};
// Apply the overlay to a video view (implementation-specific)
videoView.StatusOverlay = gifOverlay;
Remarks
This class implements the VisioForge.Core.Types.IStatusOverlay interface to provide animated GIF overlay functionality for video streams. It allows applications to display animated indicators, logos, or status animations over video content.
Common use cases include:
- Displaying animated recording indicators
- Showing animated watermarks or branding
- Adding animated notifications or alerts to video streams
- Creating animated overlays for live streaming applications
The GIF animation will loop continuously while the overlay is active. The positioning and scaling of the overlay would typically be controlled by the video renderer implementing the overlay system.
Properties
ImageBytes
Gets or sets the GIF image data as a byte array.
public byte[] ImageBytes { get; set; }Property Value
- byte[]