# Python def ApplyOpacity( self, _transparency: int ) -> None:
| Name | Type | Description |
|---|---|---|
| _transparency | int | opacity value to apply |
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)