SetLineStyle sets the current line style
(sty LineStyle)
| 421 | |
| 422 | // SetLineStyle sets the current line style |
| 423 | func (c *Canvas) SetLineStyle(sty LineStyle) { |
| 424 | c.SetColor(sty.Color) |
| 425 | c.SetLineWidth(sty.Width) |
| 426 | c.SetLineDash(sty.Dashes, sty.DashOffs) |
| 427 | } |
| 428 | |
| 429 | // StrokeLines draws a line connecting a set of points |
| 430 | // in the given Canvas. |
no test coverage detected