GetInkG
GreenValue = GetInkG()
 
Parameters: NONE
Returns:

    GreenValue= The current GREEN value from the current graphics INK colour.
 

     GetInkG returns the GREEN value from the current Ink Colour. This value will range between 0 and 255.



FACTS:


      * None



Mini Tutorial:


      This example shows how to set the current Ink colour, read it then R,G,B back directly.

  
  
; Set the INK colour
  Ink RGB(200,50,100)
  
  
; Display the A,R,G,B values of this colour
  Print "Current Ink Colour A is:"+Str$(GetInkA())
  Print "Current Ink Colour R is:"+Str$(GetInkR())
  Print "Current Ink Colour G is:"+Str$(GetInkG())
  Print "Current Ink Colour B is:"+Str$(GetInkB())
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




This example would output.

  
  Current Ink Colour A is:0
  Current Ink Colour R is:200
  Current Ink Colour G is:50
  Current Ink Colour B is:100
  

 
Related Info: ARGB | GetInkA | GetInkB | GetInkR | Ink | InkAlpha | InkMode | RGB :
 


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