Class VLCommonFilter.TVLTransparency
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabBasicPkg
Unit: VLCommonFilter
Inherits: TLPPersistentNotify
Contents |
Syntax
Delphi:
type TVLTransparency = class( TLPPersistentNotify )
C++ Builder:
class TVLTransparency : public TLPPersistentNotify
Visual C++ (MFC):
class CTVLTransparency : public CTLPPersistentNotify
C# (.NET):
public ref class Transparency : Vcl.VclProperty
Summary
Image transparency settings class.
Description
Defines image transparency settings class.
Delphi example:
VLImageGen1.Transparency.TransparentColor := clRed;
C++ Builder example:
VLImageGen1->Transparency->TransparentColor := clRed;
Visual C++(MFC) example:
VLImageGen1.Transparency.TransparentColor := GRB(255,0,0);
Visual C++/CLI example:
imageGen1->Transparency->TransparentColor = System::Drawing::KnownColor::Red;
C# example:
imageGen1.Transparency.TransparentColor = System.Drawing.KnownColor.Red;
VB example:
ImageGen1.Transparency.TransparentColor = System.Drawing.KnownColor.Red
Properties
Published
- TransparentColor - Specifies the custom image transparency color.
- TransparentSource - Specifies the location of the pixel for the transparent color. Specifies if the Alpha channel will be used for the transparency.
- UseWithAlphaChannel - Specifies if the Alpha channel will be used for the transparency.