The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
graphic.get_pixel
11-25-2021, 04:56 PM
Post: #1
graphic.get_pixel
I don't understand this function. It seems to be able to take either 2 or 3 arguments. With 2 args, it returns "None" if the coordinates are outside the screen boundaries, otherwise it returns "(0, 0, 0)" no matter the color of the pixel at the specified coordinates. With 3 arguments, it returns "-16777216" regardless of the parameter values. Are there any bugs or am I missing something?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
graphic.get_pixel - jfelten - 11-25-2021 04:56 PM
RE: graphic.get_pixel - Guenter Schink - 11-25-2021, 11:53 PM



User(s) browsing this thread: 2 Guest(s)