Preparing search index...
The search index is not available
API
API
render2d
RadialGradient
Class RadialGradient
x, y, r are all percent from 0 to 1 when globalCoord is false
Hierarchy
default
RadialGradient
Index
Constructors
constructor
Properties
color
Stops
global
id?
r
type
x
y
Methods
add
Color
Stop
Constructors
constructor
new
Radial
Gradient
(
x
,
y
,
r
,
colorStops
?
,
globalCoord
?
)
:
RadialGradient
Parameters
x
:
number
y
:
number
r
:
number
Optional
colorStops
:
GradientColorStop
[]
Optional
globalCoord
:
boolean
Returns
RadialGradient
Properties
color
Stops
color
Stops
:
GradientColorStop
[]
global
global
:
boolean
Optional
id
id
?:
number
r
r
:
number
type
type
:
"radial"
x
x
:
number
y
y
:
number
Methods
add
Color
Stop
add
Color
Stop
(
offset
,
color
)
:
void
Parameters
offset
:
number
color
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
color
Stops
global
id
r
type
x
y
add
Color
Stop
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
x, y, r are all percent from 0 to 1 when globalCoord is false