Image.getPixel

Get the color of a pixel

This function doesn't check the validity of the pixel coordinates; using out-of-range values will result in an undefined behaviour.

class Image
getPixel
(
uint x
,
uint y
)

Parameters

x
Type: uint

X coordinate of the pixel to get

y
Type: uint

Y coordinate of the pixel to get

Return Value

Type: Color

Color of the pixel at coordinates (x, y)

Meta