setLine

fun setLine(x1: Float, y1: Float, x2: Float, y2: Float, thickness: Float): Shape

Sets the shape as a line pointing from x1, y1 to x2, y2 with a thickness

Sources

Link copied to clipboard