circle
fun circle(center: Vec2f, radius: Float, rotation: Angle = 0.radians, thickness: Int = this.thickness, joinType: JoinType = if (isJoinNecessary(thickness)) JoinType.SMOOTH else JoinType.NONE, color: Float = colorBits)
Draws a circle around the specified point with the given radius.
Parameters
center
the center point
radius
the radius of the circle
rotation
the rotation of the circle
thickness
the thickness of the line in world units
joinType
the type of join, see JoinType
color
the packed color to draw the outline. See Color.toFloatBits.
fun circle(x: Float, y: Float, radius: Float, rotation: Angle = 0.radians, thickness: Int = this.thickness, joinType: JoinType = if (isJoinNecessary(thickness)) JoinType.SMOOTH else JoinType.NONE, color: Float = colorBits)
Draws a circle around the specified point with the given radius.
Parameters
x
center x-coord
y
center y-coord
radius
the radius of the circle
rotation
the rotation of the circle
thickness
the thickness of the line in world units
joinType
the type of join, see JoinType
color
the packed color to draw the outline. See Color.toFloatBits.