Color of a screen pixel: Difference between revisions

m
put entries in alphabetical order
m (put entries in alphabetical order)
Line 8:
<br><br>
 
=={{header|App Inventor}}==
App Inventor has two Canvas blocks to determine the color under a pixel.<br>
'''GetBackgroundPixelColor''' returns a color from the Canvas but ignores Ball sprites and ImageSprites.<br>
'''GetPixelColor''' returns a color from either the Canvas or a Ball sprite or ImageSprite.<br>
In the app's display below, the purple Ball sprite was touched on the left canvas, but the pixel color (green) returned was from the area below it.
[https://lh4.googleusercontent.com/-Gw0xm7RIEck/Uute2nQSGsI/AAAAAAAAJ90/rq3UuWYE9Yw/s1600/Capture.PNG <VIEW THE BLOCKS AND ANDROID APP DISPLAY>]
=={{header|8086 Assembly}}==
===With Interrupts===
Line 73 ⟶ 67:
[https://gitlab.com/amarok8bit/action-rosetta-code/-/raw/master/images/Color_of_a_screen_pixel.png Screenshot from Atari 8-bit computer]
 
=={{header|App Inventor}}==
App Inventor has two Canvas blocks to determine the color under a pixel.<br>
'''GetBackgroundPixelColor''' returns a color from the Canvas but ignores Ball sprites and ImageSprites.<br>
'''GetPixelColor''' returns a color from either the Canvas or a Ball sprite or ImageSprite.<br>
In the app's display below, the purple Ball sprite was touched on the left canvas, but the pixel color (green) returned was from the area below it.
[https://lh4.googleusercontent.com/-Gw0xm7RIEck/Uute2nQSGsI/AAAAAAAAJ90/rq3UuWYE9Yw/s1600/Capture.PNG <VIEW THE BLOCKS AND ANDROID APP DISPLAY>]
=={{header|AutoHotkey}}==
<lang AutoHotkey>PixelGetColor, color, %X%, %Y%</lang>
1,489

edits