Difference between revisions of "RGB"
(Created page with " ''function RGB(R,G,B: Byte):Longint;'' '''Parameter Info:''' R (Byte): Red value G (Byte): Green value B (Byte): Blue value '''Description:''' Convert R,G,B to ...") |
(No difference)
|
Latest revision as of 14:06, 15 August 2012
function RGB(R,G,B: Byte):Longint; Parameter Info: R (Byte): Red value G (Byte): Green value B (Byte): Blue value Description: Convert R,G,B to a Longint for use with WriteConsole/DrawText.
Examples
DrawText(0, 'Hello big world!', 330, RGB(255,0,0), 0.20, 40, 240);
// Will draw: "Hello big world!" in the center screen with red color.