|
GetInkA | ||
AlphaValue = GetInkA() | ||
Parameters: NONE | ||
Returns: AlphaValue = The current Alpha value from the current graphics INK colour. |
||
GetInkA returns the ALPHA value from the current Ink Colour. This value will range between 0 and 255. FACTS: * While the Ink Colour is 32bit packed value, containing the A,R,G,B channels. PB doesn't generally use the Alpha value from the Ink colour, with one key exception, and that's when using Compressed Raster Fonts. Alpha Level for most functions in PB is controlled using the InkAlpha and InkMode commands. Mini Tutorial: This example shows how to set the current Ink colour, read it then R,G,B back directly.
This example would output.
|
Related Info: | GetInk | GetInkB | GetInkG | GetInkR | Ink : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |