Vcl.Graphics.TBitmap.TransparentMode
Delphi
property TransparentMode: TTransparentMode read FTransparentMode write SetTransparentMode default tmAuto;
C++
__property TTransparentMode TransparentMode = {read=FTransparentMode, write=SetTransparentMode, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TBitmap |
Description
Determines whether the TransparentColor property's value is automatically calculated or stored with the bitmap object.
When TransparentMode is set to tmAuto (the default), the TransparentColor property returns the color of the bottom-leftmost pixel of the bitmap image. When TransparentMode is set to tmFixed, the TransparentColor property refers to the color stored in the bitmap object.
See Also
Code Examples