Phantom Documentation

[Help Home] [Phantom Home]
ReplaceAll

void bitmap.ReplaceAll(int,int,int,int,int,int)

Return Type: void
Parameters:
int R1 - The old R (red) value
int G1 - The old G (blue) value
int B1 - The old B(green) value
int R2 - The new R value
int G2 - The new G value
int B2 - The new Bvalue

Description:

This function replaces all pixels with color value R1,G1,B1 with the values R2,G2,B2.

Each value is between 0 (no color) and 255 (full color), inclusive.

For an example, see the bitmap variable page.


See Also: ReplaceAllOther


Copyright 2000-2011 Phantom Automated Solutions