Пример #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);
        }