filledCircle
fun filledCircle(center: Vec2f, radius: Float, rotation: Angle = 0.radians, color: Float = colorBits)
Draws a filled circle as a stretched regular polygon estimating the number of sides required (see estimateSidesRequired) to appear smooth enough based on the pixel size that has been set.
Parameters
center
the center point
radius
the radius
rotation
the rotation of the ellipse
color
the packed color of circle. See Color.toFloatBits.
fun filledCircle(x: Float, y: Float, radius: Float, rotation: Angle = 0.radians, color: Float = colorBits)
Draws a filled circle as a stretched regular polygon estimating the number of sides required (see estimateSidesRequired) to appear smooth enough based on the pixel size that has been set.
Parameters
x
the x-coord of the center point
y
the y-coord of the center point
radius
the radius
rotation
the rotation of the ellipse
color
the packed color of circle. See Color.toFloatBits.