Skip to main content

Gradient

class Gradient 

Constructors

constructor

public new Gradientprops: GradientProps: Gradient

Parameters

Properties

angle

readonly public angle: SimpleSignalnumberGradient

from

readonly public from: Vector2SignalGradient

fromRadius

readonly public fromRadius: SimpleSignalnumberGradient

stops

readonly public stops: SimpleSignalGradientStop[]Gradient

to

readonly public to: Vector2SignalGradient

toRadius

readonly public toRadius: SimpleSignalnumberGradient

type

readonly public type: SimpleSignalGradientTypeGradient

Methods

canvasGradient

Parameters