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

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

Linear gradient stroke.
Name Type Description
angle number | undefined Gradient angle.
dash string | undefined Dash settings. Read more at anychart.graphics.vector.Shape#stroke.
keys Array.<(anychart.graphics.vector.GradientKey|string)> Keys list.
lineCap string | undefined Line cap style. More at anychart.graphics.vector.StrokeLineCap.
lineJoin string | undefined Line join style. More at anychart.graphics.vector.StrokeLineJoin.
mode boolean | anychart.graphics.math.Rect | undefined Fill mode. Read more at anychart.graphics.vector.Shape#fill.
opacity number | undefined Color opacity (0 to 1).
thickness number | undefined Line thickness.