Gradient
class
Gradient
Constructors
constructor
Parameters
-
props : GradientProps
Properties
angle
readonly
public
angle
:
SimpleSignal
number
Gradient
from
readonly
public
from
:
Vector2Signal
Gradient
fromRadius
readonly
public
fromRadius
:
SimpleSignal
number
Gradient
stops
readonly
public
stops
:
SimpleSignal
GradientStop
[]
Gradient
to
readonly
public
to
:
Vector2Signal
Gradient
toRadius
readonly
public
toRadius
:
SimpleSignal
number
Gradient
type
readonly
public
type
:
SimpleSignal
GradientType
Gradient
Methods
canvasGradient
public
canvasGradient
context
:
CanvasRenderingContext2D
:
CanvasGradient