Context.lineTo

Adds a line to the path from the current point to position (x, y) in user-space coordinates. After this call the current point will be (x, y). If there is no current point before the call to cairo_line_to() this function will behave as cairo_move_to(cr, x, y). Since 1.0

class Context
void
lineTo
(
double x
,
double y
)

Parameters

x double

the X coordinate of the end of the new line

y double

the Y coordinate of the end of the new line

Meta