Close closes the path by connecting the current location to the start location with a line.
()
| 146 | // Close closes the path by connecting the current |
| 147 | // location to the start location with a line. |
| 148 | func (p *Path) Close() { |
| 149 | *p = append(*p, PathComp{Type: CloseComp}) |
| 150 | } |
| 151 | |
| 152 | // Constants that tag the type of each path |
| 153 | // component. |
no outgoing calls