get_rgbaπ
Short descriptionπ
get_rgba β Get the current color in RGBA-coding.
Signatureπ
get_rgba( window WindowHandle, out integer Red, out integer Green, out integer Blue, out integer Alpha )
Descriptionπ
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.
Attentionπ
get_rgba depends on the library libcanvas, which might not be
available on embedded systems.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
WindowHandle (input_control) window β (handle)
Window handle.
Red (output_control) integer-array β (integer)
The current colorβs red value.
Green (output_control) integer-array β (integer)
The current colorβs green value.
Blue (output_control) integer-array β (integer)
The current colorβs blue value.
Alpha (output_control) integer-array β (integer)
The current colorβs alpha value.
Resultπ
get_rgba returns 2 (H_MSG_TRUE) if the window is valid.
Otherwise an exception is raised.
Combinations with other operatorsπ
Moduleπ
Foundation