AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkVirtualJoystick.SetAlpha Method

Sets the transparency of the virtual joystick on screen.

Syntax
Pascal
procedure SetAlpha(const AlphaOuter: Byte; const AlphaInner: Byte);
Parameters 
Description 
const AlphaOuter: Byte 
The alpha value of the outer part of the joystick. 
const AlphaInner: Byte 
The alpha value of the inner part of the joystick. 

The virtual joystick is composed of two parts: the inner movable part, and the outer static part. AlphaOuter sets the transparency of the outer part in the range 0-255 with 255 being fully opaque. AlphaInner sets the transparency of the inner part in the range 0-255.

Copyright (c) 2012. All rights reserved.