Project

General

Profile

Actions

$getdot » History » Revision 1

Revision 1/5 | Next »
Per Amundsen, 08/10/2015 06:50 AM


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

@ - The picture window name.
x - The X coordinate.
y - The Y coordinate.

Example

; Open a picture window
/window -p @test

; Fill a rectangle
/drawfill @test 4 4 0 0

; Get the RGB color value at x coordinate 0 and y coordinate 0
//echo -ag $getdot(@test, 0, 0)

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT