ellipse
See ShapeRenderer.ellipse. Estimates the number of segments needed for a smooth ellipse.
Parameters
position
supplies x and y parameters.
width
width of the rendered ellipse.
height
height of the rendered ellipse.
degrees
rotation of the rendered ellipse in degrees.
fun ShapeRenderer.ellipse(position: Vector2, width: Float, height: Float, degrees: Float, segments: Int)
See ShapeRenderer.ellipse
Parameters
position
supplies x and y parameters.
width
width of the rendered ellipse.
height
height of the rendered ellipse.
degrees
rotation of the rendered ellipse in degrees.
segments
amount of segments used to render the arc.