point()

Shape / 2D Primitives

Description

Draws a point at the given coordinates.

Syntax

void point(float x, float y) void point(float x, float y, float z)

Parameters

NameTypeDescription
xfloatx-coordinate
yfloaty-coordinate
zfloatz-coordinate (optional, 3D)

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...