style
Specifies the LineStyle to use for the line and arrow. See the LineStyle documentation for more information.
If called multiple times, only the properties of style that are specified in later calls will override earlier calls. E.g. the following two calls are equivalent:
.style(LineStyle(brush = SolidColor(Color.Red)))
.style(LineStyle(width = 4.dp))
// vs
.style(LineStyle(brush = SolidColor(Color.Red), width = 4.dp))
Content copied to clipboard