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

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

Linear gradient stroke.
NameTypeDescription
anglenumber | undefinedGradient angle.
dashstring | undefinedDash settings. Read more at anychart.graphics.vector.Shape#stroke.
keysArray.<(anychart.graphics.vector.GradientKey|string)>Keys list.
lineCapstring | undefinedLine cap style. More at anychart.graphics.vector.StrokeLineCap.
lineJoinstring | undefinedLine join style. More at anychart.graphics.vector.StrokeLineJoin.
modeboolean | anychart.graphics.math.Rect | undefinedFill mode. Read more at anychart.graphics.vector.Shape#fill.
opacitynumber | undefinedColor opacity (0 to 1).
thicknessnumber | undefinedLine thickness.