orx
Toggle table of contents
0.5.0-dev.28+293aff4
common
Target filter
common
Switch theme
Search in API
Skip to content
orx
orx-shapes
/
org.openrndr.extra.shapes.bezierpatches
/
BezierPatchBase
/
gradient
gradient
fun
gradient
(
u
:
Double
,
v
:
Double
)
:
Vector2
(
source
)
Return a gradient vector on the patch by using its u,v parameterization
Parameters
u
a value between 0 and 1
v
a value between 0 and 1