lineTo

common
fun lineTo(xPos: Double, yPos: Double)

Adds a line to the path from the current point to position (xPos, yPos) in user-space coordinates. After this call the current point will be (xPos, yPos). If there is no current point before the call to lineTo then this function will behave as moveTo(cr , x , y ).

Parameters

xPos

The X coordinate of the end of the new line.

yPos

The Y coordinate of the end of the new line.

linuxArm32
fun lineTo(xPos: Double, yPos: Double)

Parameters

xPos

The X coordinate of the end of the new line.

yPos

The Y coordinate of the end of the new line.

linuxX64
fun lineTo(xPos: Double, yPos: Double)

Parameters

xPos

The X coordinate of the end of the new line.

yPos

The Y coordinate of the end of the new line.