Ejemplo n.º 1
0
        public static void Arc(this SpriteBatch sb, Color color, Vector2 center, float radius, int sides, float startingAngle, float radians, float thickness = 1f)
        {
            Arc arc = ShapeCache.GetArc(radius, sides, startingAngle, radians);

            Points(sb, color, center, arc, thickness);
        }
Ejemplo n.º 2
0
        public static void Circle(this SpriteBatch sb, Color color, Vector2 position, double radius, int sides = 12, float thickness = 1f)
        {
            Circle c = ShapeCache.GetCircle(radius, sides);

            Points(sb, color, position, c, thickness);
        }