openrndr
Toggle table of contents
0.5.0-dev.24+01d4f82
common
Target filter
common
Switch theme
Search in API
Skip to content
openrndr
openrndr-shape
/
org.openrndr.shape
/
clamp
clamp
fun
Vector2
.
clamp
(
bounds
:
Rectangle
)
:
Vector2
(
source
)
Clamps a
Vector2
within the bounds of the
bounds
Rectangle
.