Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates specified in float precision. This method provides a single precision variant of the double precision lineTo() method on the base LinePath class. @param x t
(float x, float y, int c)
| 250 | * @see LinePath#lineTo |
| 251 | */ |
| 252 | public final void lineTo(float x, float y, int c) { |
| 253 | needRoom(true, 1); |
| 254 | pointTypes[numTypes++] = SEG_LINETO; |
| 255 | floatCoords[numCoords++] = x; |
| 256 | floatCoords[numCoords++] = y; |
| 257 | pointColors[numCoords/2-1] = c; |
| 258 | } |
| 259 | |
| 260 | |
| 261 | /** |
no test coverage detected