Platform SDK: DirectX |
The DirectX7.ColorGetRed method retrieves the red component of a color.
object.ColorGetRed(color As Long) As Single
If the method succeeds, the red value is returned if successful, or zero otherwise.
If the method fails, an error is raised and Err.Number is set.
DirectX7.ColorGetAlpha, DirectX7.ColorGetGreen, DirectX7.ColorGetBlue