set()

Image / Pixels

Description

Changes the color of any pixel or writes an image directly to the display window.

Syntax

void set(int x, int y, color c)

Parameters

NameTypeDescription
xintx-coordinate
yinty-coordinate
ccolorcolor value

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...