AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.5.1 version of this document. Switch to the 8.2.1 version to see the up to date information.

{typedef} anychart.graphics.vector.LinearGradientFill Improve this Doc

Linear gradient.
Name Type Description
angle number | undefined Gradient angle.
keys Array.<(anychart.graphics.vector.GradientKey|string)> Keys list.
mode boolean | anychart.graphics.math.Rect | undefined Fill mode. See more at anychart.graphics.vector.Shape#fill.
opacity number | undefined Color opacity (0 to 1).