User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_bitmapabstract.maketransparent_void

Table of Contents

TGIS_BitmapAbstract.MakeTransparent method

DK for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.MakeTransparent | Fields | Methods | Properties

Make the bitmap fully transparent.

Available also on: Delphi | Java | Python.

Syntax

// C#
public virtual abstract void MakeTransparent();
' VisualBasic
Public Overridable MustOverride Sub MakeTransparent()
// Oxygene
public
  procedure MakeTransparent; virtual; abstract;

Remarks

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()

2026/09/20 23:51

Page Tools