Vcl.Imaging.GIFImg.GIFDefaultTransparentColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

GIFDefaultTransparentColor: TColor = clBlack;

C++

extern DELPHI_PACKAGE System::Uitypes::TColor GIFDefaultTransparentColor;

Properties

Type Visibility Source Unit Parent
variable public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg Vcl.Imaging.GIFImg

Description

Specifies the color used for transparency.

Change the value of GIFDefaultTransparentColor to specify the color used for transparency, for example when importing transparent bitmaps and optimizing the color maps.

There are no restrictions on the specified color, but the value must be a real color (such as clBlack or clWhite), not a logic color (such as clWindow or clBtnFace).