drawLine

expect fun drawLine(drawDesc: LineDescriptor, vararg points: Point)

Draw a line on the canvas.

Parameters

drawDesc

The line descriptor.

points

Two or more points used for drawing the line.


expect fun drawLine(drawDesc: LineDescriptor, vararg points: Pair<Short, Short>)

Draw a line on the canvas.

Parameters

drawDesc

The line descriptor.

points

Two or more points used for drawing the line. Each point consists of the following:

  1. xPos - Horizontal position

  2. yPos - Vertical position

actual fun drawLine(drawDesc: LineDescriptor, vararg points: Point)
actual fun drawLine(drawDesc: LineDescriptor, vararg points: Pair<Short, Short>)
actual fun drawLine(drawDesc: LineDescriptor, vararg points: Point)
actual fun drawLine(drawDesc: LineDescriptor, vararg points: Pair<Short, Short>)