Move moves the current location of the path to the given point.
(pt Point)
| 109 | // Move moves the current location of the path to |
| 110 | // the given point. |
| 111 | func (p *Path) Move(pt Point) { |
| 112 | *p = append(*p, PathComp{Type: MoveComp, Pos: pt}) |
| 113 | } |
| 114 | |
| 115 | // Line draws a line from the current point to the |
| 116 | // given point. |
no outgoing calls