DK for Delphi | FMX.GisFramework.TGIS_BitmapFMX.MakeTransparent | Constructors | Fields | Methods | Properties
Make the bitmap fully transparent.
Overrides TGIS_BitmapAbstract.MakeTransparent.
// Delphi public procedure MakeTransparent; override;
// C++ Builder public: virtual void MakeTransparent(void);
PURPOSE: Resets the bitmap so it can be reused as a fully transparent drawing surface.
BEHAVIOR: Delegates to the underlying platform bitmap to apply full transparency to the entire image.
USAGE: Prepare a bitmap buffer before drawing a new frame.
buffer = TGIS_Bitmap(width, height) buffer.Clear(TGIS_Color.FromARGB(255, 255, 255, 255)) buffer.MakeTransparent()