JCL Help:GetRGBValue

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the Red, Green and Blue components of a TColor.


Pascal

 procedure GetRGBValue(const Color: TColor; out Red: Byte; out Green: Byte; out Blue: Byte);


Parameters

Parameters Description
const Color: TColor The color from which you want to extract the individual components.
out Red: Byte The intensity of the Red component.
out Green: Byte The intensity of the Green component.
out Blue: Byte The intensity of the Blue component.


Description

GetRGBValue returns the intensity of the Red, Green and Blue components of the supplied TColor. You can use the GetColorFlag to extract the remaining Flag component.


See Also

SetRGBValue GetColorFlag


About

Unit

JclGraphUtils


Donator

Pelle F. S. Liljendal


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page