Platform SDK: DirectX

DirectX7.ColorGetBlue

The DirectX7.ColorGetBlue method retrieves the blue component of a color.

object.ColorGetBlue(color As Long) As Single

Parameters

object
Object expression that resolves to a DirectX7 object.
color
Color from which the blue component is retrieved. A value between 0 and 255.

Return Values

If the method succeeds, the blue value is returned if successful, or zero otherwise.

Error Codes

If the method fails, an error is raised and Err.Number is set.

See Also

DirectX7.ColorGetAlpha, DirectX7.ColorGetGreen, DirectX7.ColorGetRed