GetInkAlpha
AlphaLevel# = GetInkAlpha()
 
Parameters: NONE
Returns:

    AlphaLevel# = The current alpha blending level
 

      GetInkAlpha returns the current Ink Alpha Blending level.




FACTS:


      * When reading the Alpha Level back, you may notice the value to be a fraction different from the one you set. This is because the value is stored different internally and needs conversions to be read back.




Mini Tutorial:


      This example shows how to set an InkAlpha level, then read it back.

  
; Set the INK mode to Normal + Alpha Blend
  InkAlpha 0.80
  
; Display the current Ink Mode
  Print GetInkAlpha()
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  


This example would output.

  
  0.8
  

 
Related Info: GetInk | GetInkMode | Ink | InkAlpha | InkMode :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com