Pixels::foreground()
Browser availability: desktop-only.
This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.
Returns the pixels of the foreground layer.
Syntax
Java
.foreground()
Return
int[]