Vcl.Graphics.TTransparentMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTransparentMode = (tmAuto, tmFixed);

C++

enum DECLSPEC_DENUM TTransparentMode : unsigned char { tmAuto, tmFixed };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TTransparentMode indicates how the transparent color of a bitmap is determined.

The following table lists the possible values:



Value Meaning

tmAuto

The transparent color is determined by the bottom-leftmost pixel of the bitmap image.

tmFixed

The transparent color is explicitly assigned and stored in the bitmap object.