AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.TransparencyMode Property

Set the sprite transparency to a particular setting, with a choice of no transparency (tmNone), alpha transparency (tmAlphaTransparency), and alpha masking (on/off transparency, tmAlphaMasking), although alpha masking tends to be slower than full alpha on most devices.

Syntax
Pascal
property TransparencyMode: TAgkTransparencyMode;

By default sprites are created with alpha transparency, but if you do not need this it is recommended that you turn transparency off to improve performance.

Copyright (c) 2012. All rights reserved.