public void Circle(Color color, Vector2 position, double radius, int sides = 12, float thickness = 1) { List <Vector2> c = ShapeCache.GetCircle(radius, sides); Polygon(color, position, c, thickness); }
public void Arc(Color color, Vector2 center, float radius, int sides, Rotation startingAngle, Rotation radians, float thickness = 1) { List <Vector2> arc = ShapeCache.GetArc(radius, sides, startingAngle.Radians, radians.Radians); Polygon(color, center, arc, thickness); }