Enum VLCommonFilter.TVLTransparentSource

From Mitov Wiki Doc
Jump to: navigation, search

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

Contents

Syntax

Delphi:

type TVLTransparentSource = (tsNone, tsTopLeft, tsTopRight, tsBottomLeft, tsBottomRight, tsCustom);

C++ Builder:

enum TVLTransparentSource {tsNone, tsTopLeft, tsTopRight, tsBottomLeft, tsBottomRight, tsCustom};

Visual C++ (MFC):

enum CTVLTransparentSource {tsNone, tsTopLeft, tsTopRight, tsBottomLeft, tsBottomRight, tsCustom};

Summary

How the mask will decide which color will be transparent enumeration.

Description

Defines how the mask will decide which color will be transparent enumeration. Used by the TVLApplyMask.TransparentSource property.


Delphi example:

VLApplyMask1.TransparentSource := tsBottomRight;

C++ Builder example:

VLApplyMask1->TransparentSource = tsBottomRight;

Visual C++(MFC) example:

VLApplyMask1.TransparentSource = tsBottomRight;

Visual C++/CLI example:

applyMask1->TransparentSource = Mitov::VideoLab::TransparentSource::BottomRight;

C# example:

applyMask1.TransparentSource = Mitov.VideoLab.TransparentSource.BottomRight;

VB example:

ApplyMask1.TransparentSource = Mitov.VideoLab.TransparentSource.BottomRight

Values

tsNone Do not use transparent color.
tsTopLeft Use Top Left pixel for transparent color.
tsTopRight Use Top Right pixel for transparent color.
tsBottomLeft Use Bottom Left pixel for transparent color.
tsBottomRight Use Bottom Right pixel for transparent color.
tsCustom Custom color to be used as transparent color of the mask.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox