2DLightPathSimulator/LensSimulatorCore/Shapes/Circle.cs

13 lines
301 B
C#

namespace LensSimulatorCore.Shapes;
public class Circle : Ellipse
{
public Circle(double radius, Point position) : base(0, radius, radius, position)
{
Radius = radius;
Position = position;
}
public double Radius { get; set; }
public Point Position { get; set; }
}