LineTo adds a line to the current figure of the DrawPath starting from the current point and ending at the given point. The current point is set to the ending point.
(x float64, y float64)
| 94 | // from the current point and ending at the given point. The current |
| 95 | // point is set to the ending point. |
| 96 | func (p *DrawPath) LineTo(x float64, y float64) { |
| 97 | C.uiDrawPathLineTo(p.p, C.double(x), C.double(y)) |
| 98 | } |
| 99 | |
| 100 | // ArcTo adds a circular arc to the current figure of the DrawPath. |
| 101 | // You pass it the center of the arc, its radius in radians, the starting |
no outgoing calls
no test coverage detected