Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> maketransparent

Last modified on Fri, 30th Mar 2007 at 02:05 UTC by zipplet

lxgfx.maketransparent


procedure maketransparent(
  surface: tlxhandle;
  colour: tlxcolour32;
  alpha: byte
);


Alters the alpha channel of all pixels matching the given colour, setting the alpha channel of those pixels to a given new value.

surface: tlxhandle
The surface to edit.

colour: tlxcolour32
The colour to search for.

alpha: byte
The new alpha value.

Class: lxgfx