regularPolygonRounded

fun regularPolygonRounded(sides: Int, roundFactor: Double = 0.5, center: Vector2 = Vector2.ZERO, radius: Double = 100.0, phase: Double = 0.0): ShapeContour(source)

Creates a rounded polygon at center with the given sides and radius. Specify a phase in degrees to rotate it. roundFactor 0.0 = no rounding, 0.5 = default, 1.0 = full rounding.