Operators |
get_rgba — Get the current color in RGBA-coding.
get_rgba( : : WindowHandle : Red, Green, Blue, Alpha)
get_rgba returns the output colors or gray values, respectively, for the output window. They are defined by the four color components red, green, blue and alpha.
The values returned by get_rgba can be set with set_rgba.
get_rgba depends on the library libcanvas, which might not be available on embedded systems.
Window handle.
The current color's red value.
The current color's green value.
The current color's blue value.
The current color's alpha value.
get_rgba returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.
Foundation
Operators |