Actions
Added in 1.9.1
$getdot(@,x,y)
Returns the RGB color value of the dot at the specified position in a picture window.
Parameters
Parameter | Description |
@ | The picture window name. |
x | The X coordinate. |
y | The Y coordinate. |
Example
; Open a picture window. /window -p @Example ; Fill a rectangle on the picture window. /drawfill @Example 4 4 0 0 ; Get the RGB color value at x coordinate 0 and y coordinate 0. //echo -ag $getdot(@Example, 0, 0)
Updated by Per Amundsen almost 2 years ago · 5 revisions