rectLine

fun ShapeRenderer.rectLine(positionA: Vector2, positionB: Vector2, width: Float, colorA: Color, colorB: Color)

See ShapeRenderer.rectLine.

Parameters

positionA

position of edge A.

positionB

position of edge B.

colorA

color of edge A.

colorB

color of edge B