C

Gradient

A class that models the VSDX Fill/Line Gradient section.

Inheritance Hierarchy

Remarks

More precisely, it holds a collection of GradientStop objects that specify the color, the transparency and the position of a gradient stop for each contained gradient.

Members

Show:

Properties

Methods

Factory method for creating a GradientStop object.

Parameters

color: Value<string>
position: ValueConvertible<number> | Value<number>
transparency?: ValueConvertible<number> | Value<number> | null

Return Value