ImgRGBGreen |
Top Previous Next |
Prototype
intRed:=ImgRGBGreen(intColor)
Description
Extract green component from RGB color (min 0 max $FFFFFF) .
Parameters
intColor: integer value corresponding to RGB color.
Returned Value
intRed: integer value corresponding to RGB color green component.
Notes
None.
Example
//Extract red component red:=ImgRGBRed(Color); ApplicationLog('Red component is: '+IntToStr(red));
//Extract blue component blue:=ImgRGBblue(Color); ApplicationLog(Blue component is: '+IntToStr(blue));
//Extract green component Green:=ImgRGBGreen(Color); ApplicationLog('Green component is: '+IntToStr(Green)); |