DK for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.ApplyOpacity | Fields | Methods | Properties
Apply opacity to the bitmap.
// C# public virtual abstract void ApplyOpacity( int _transparency );
' VisualBasic Public Overridable MustOverride Sub ApplyOpacity( ByVal _transparency As Integer )
// Oxygene public procedure ApplyOpacity( _transparency : Integer ); virtual; abstract;
| Name | Type | Description |
|---|---|---|
| _transparency | int Integer | 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)