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