Builds an RGB integer triplet (#RRGGBB) from a Gray integer components.
public static int MakeGray( int gray );
gray System.Int32. Gray component between 0 and 255.
System.Int32. The resulting RGB integer triplet.
As an example, MakeGray(128) returns the integer 0x808080.
© 2004-2005 GlobFX Technologies. All rights reserved. |