SetLineDash sets the dash pattern for lines. The pattern slice specifies the lengths of alternating dashes and gaps, and the offset specifies the distance into the dash pattern to start the dash. The initial dash pattern is a solid line.
(pattern []Length, offset Length)
| 34 | // |
| 35 | // The initial dash pattern is a solid line. |
| 36 | SetLineDash(pattern []Length, offset Length) |
| 37 | |
| 38 | // SetColor sets the current drawing color. |
| 39 | // Note that fill color and stroke color are |