Class ImageStatusOverlay
- Namespace
- VisioForge.Core.Types
- Assembly
- VisioForge.Core.dll
Represents a status overlay that displays a bitmap image on top of video content.
public class ImageStatusOverlay : IStatusOverlayInheritance
Implements
Inherited Members
Examples
// Create an image overlay with a logo
var logoOverlay = new ImageStatusOverlay
{
Image = new Bitmap("logo.png")
};
// Apply the overlay to a video player or capture device
videoPlayer.StatusOverlay = logoOverlay;
Remarks
The VisioForge.Core.Types.ImageStatusOverlay class is used to overlay custom bitmap images onto video frames, commonly used for displaying watermarks, logos, or status indicators during video playback or recording.
This class implements the VisioForge.Core.Types.IStatusOverlay interface, allowing it to be used within the VisioForge media framework's overlay system. The overlay can be positioned and displayed according to the requirements of the containing video processing pipeline.
Note: This class is currently commented out in the source code, suggesting it may be under development or temporarily disabled.
Properties
Image
Gets or sets the bitmap image to be displayed as an overlay.
public Bitmap Image { get; set; }Property Value
Remarks
The bitmap should be properly disposed when no longer needed to prevent memory leaks. Consider using image formats that support transparency (PNG, 32-bit BMP) for better visual integration with the underlying video content.
The size and position of the overlay may be controlled by other properties or methods not shown in this class definition, likely defined in the VisioForge.Core.Types.IStatusOverlay interface.