get()

Image / Pixels

Description

Reads the color of any pixel or grabs a section of a PImage.

Syntax

color get(int x, int y)

Parameters

NameTypeDescription
xintx-coordinate
yinty-coordinate

Returns

color

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...