User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_bitmapabstract.applyopacity_integer

Table of Contents



TGIS_BitmapAbstract.ApplyOpacity method

Apply opacity to the bitmap.

Syntax

# Python
def ApplyOpacity(
  self,
  _transparency: int
) -> None: 

Parameters

Name Type Description
_transparency int opacity value to apply

Remarks

PURPOSE: Adjusts the current bitmap opacity before further rendering or compositing.

BEHAVIOR: Delegates to the underlying platform bitmap to apply the specified opacity value to the image.

USAGE: Fade an off-screen bitmap before drawing new content.

alpha = Round(calcAlpha)       buffer.ApplyOpacity(alpha)

2026/10/31 22:49

Page Tools