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.fills.gradients
/
RadialGradient
/
RadialGradient
Radial
Gradient
constructor
(
colorType
:
KClass
<
C
>
,
center
:
Vector2
=
Vector2(0.5, 0.5)
,
focalCenter
:
Vector2
=
center
,
radius
:
Double
=
1.0
,
focalRadius
:
Double
=
radius
,
colors
:
Array
<
Vector4
>
,
points
:
Array
<
Double
>
=
Array(colors.size) { it / (colors.size - 1.0) }
,
structure
:
GradientBaseStructure
)
(
source
)