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-shade-styles
/
org.openrndr.extra.shadestyles
/
NPointLinearGradient
/
NPointLinearGradient
NPoint
Linear
Gradient
constructor
(
colors
:
Array
<
ColorRGBa
>
,
points
:
Array
<
Double
>
=
Array(colors.size) { it / (colors.size - 1.0) }
,
offset
:
Vector2
=
Vector2.ZERO
,
rotation
:
Double
=
0.0
)
(
source
)