alpha()

Color / Creating & Reading

Description

Extracts the alpha value from a color.

Syntax

float alpha(color c)

Parameters

NameTypeDescription
ccolorany color value

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...