Preparing search index...
The search index is not available
Paint Bucket - v2.2.0
Paint Bucket
utils
clamp
Function clamp
clamp
(
x
)
:
number
Clamps value to [0, 1] range.
NaN
values are converted to 0.
Parameters
x
:
number
The number to clamp.
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Paint Bucket - v2.2.0
Loading...
Clamps value to [0, 1] range.
NaN
values are converted to 0.