Class TAdTransparencyFilter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdTransparencyFilter = class(TAdBitmapEffect)

Description

Makes a specific color of the bitmap transparent.

Hierarchy

Overview

Methods

Public constructor Create;
Public procedure AssignEffect(Dest: TAd2dBitmap); override;

Properties

Public property Transparent: boolean read FTransparent write FTransparent;
Public property TransparentColor: LongInt read FTransparentColor write FTransparentColor;

Description

Methods

Public constructor Create;

Creates an instance of TAdTransparencyFilter

Public procedure AssignEffect(Dest: TAd2dBitmap); override;

Assigns the transparency effect to the bitmap

Properties

Public property Transparent: boolean read FTransparent write FTransparent;

Specifies whether the image should be made transparent. If false, the alpha channel will be removed.

Public property TransparentColor: LongInt read FTransparentColor write FTransparentColor;

Specifies the color that should be made transparent. If this value is "clNone" ($1FFFFFFF) and transparent is true, nothing will be changed.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58