SetImageOverlay_Attributes
Deprecated
Kept for backward compatibility only.
procedure SetImageOverlay_Attributes (LeftLocation: LongInt; TopLocation: LongInt; StretchedWidth: LongInt; StretchedHeight: LongInt; Transparent_Enabled: Boolean; UseTransparentColor: Boolean; Transparent_ColorValue: LongInt; AlphaBlend_Enabled: Boolean; AlphaBlend_Value: LongInt);
void __fastcall SetImageOverlay_Attributes(System::LongInt LeftLocation, System::LongInt TopLocation, System::LongInt StretchedWidth, System::LongInt StretchedHeight, bool Transparent_Enabled, bool UseTransparentColor, System::LongInt Transparent_ColorValue, bool AlphaBlend_Enabled, System::LongInt AlphaBlend_Value);
public void SetImageOverlay_Attributes(int LeftLocation, int TopLocation, int StretchedWidth, int StretchedHeight, bool Transparent_Enabled, bool UseTransparentColor, int Transparent_ColorValue, bool AlphaBlend_Enabled, int AlphaBlend_Value);
Public Sub SetImageOverlay_Attributes(LeftLocation As Integer, TopLocation As Integer, StretchedWidth As Integer, StretchedHeight As Integer, Transparent_Enabled As Boolean, UseTransparentColor As Boolean, Transparent_ColorValue As Integer, AlphaBlend_Enabled As Boolean, AlphaBlend_Value As Integer)
void SetImageOverlay_Attributes (int LeftLocation, int TopLocation, int StretchedWidth, int StretchedHeight, BOOL Transparent_Enabled, BOOL UseTransparentColor, int Transparent_ColorValue, BOOL AlphaBlend_Enabled, int AlphaBlend_Value);
Sets the location, size and transparency for the current image overlay selected by ImageOverlaySelector
Remarks
Deprecated: use SetImageOverlay_Attributes2 instead, with the image overlay index as the first parameter.
Used to specify the location, size and transparency of the image overlaid on the video frames. Note: see the Image overlays chapter for general information about this feature. Location: the image will be drawn at the LeftLocation, TopLocation position over the video frames (expressed in pixels).
Size - if StretchedWidth and StretchedHeight are > 0, the image is resized to these values - if StretchedWidth = 0 and StretchedHeight = 0, the image size is used
Transparency: - if the Transparent parameter is true, the image background is not drawn.
- if the Transparent parameter is true and the UseTransparentColor parameter is true, the TransparentColorValue value is used for transparency.
Alpha blending: if the AlphaBlend parameter is true, a progressive bitmap transparency is applied, depending on the AlphaBlendValue, in the 0..255 range. It is not possible to perform alpha blending when the Transparent parameter is true. Important: if the bitmap color format is not 32 bits, it will be converted into a 32-bit format. In other words, for better performance pass a bitmap already in 32-bit color format.