Gradient
class Gradient
Constructors
constructor
public new Gradientprops: GradientProps: Gradient
Parameters
Properties
angle
readonly public angle: SimpleSignalnumberGradient
from
readonly public from: Vector2SignalGradientVector2SignalContextGradient
fromRadius
readonly public fromRadius: SimpleSignalnumberGradient
stops
readonly public stops: SimpleSignalGradientStop[]Gradient
to
readonly public to: Vector2SignalGradientVector2SignalContextGradient
toRadius
readonly public toRadius: SimpleSignalnumberGradient
type
readonly public type: SimpleSignalGradientTypeGradient
Methods
canvasGradient
public canvasGradientcontext: CanvasRenderingContext2D: CanvasGradient