Skip to content

GradientImageAsset

Inherits ImageAsset

GradientImageAsset is a class that provides gradient image that can be dynamically changed.

Properties

Series : ColorSeries

The color series for this gradient

Width : number

Determines the width of this image

Height : number

Determines the height of this image

Fill : GradientImageFill

Determines the fill mode of the gradient

FillFrom : Vector2

Determines the starting point of the gradient

FillTo : Vector2

Determines the ending point of the gradient