using System; using System.Drawing; namespace Fractals { /// /// Summary description for MandelbrotSettings. /// public class MandelbrotSettings { int _MaxIter = 512; double _Scale = 0.01; double _realCenter = 0.0; double _imgCenter = 0.0; //int[] _Color = {Color.Black.ToArgb(),Color.Chocolate.ToArgb(),Color.Beige.ToArgb(),Color.Cyan.ToArgb(),Color.DarkCyan.ToArgb(),Color.Aqua.ToArgb(),Color.Blue.ToArgb(),Color.DarkBlue.ToArgb(),Color.Red.ToArgb(),Color.DarkRed.ToArgb(),Color.Green.ToArgb(),Color.DarkGreen.ToArgb(),Color.Violet.ToArgb(),Color.DarkViolet.ToArgb(),Color.Yellow.ToArgb(),Color.White.ToArgb()}; public MandelbrotSettings( ) { } public int Iterations { get { return( _MaxIter ); } set { _MaxIter = value; } } public double Scale { get { return( _Scale ); } set { _Scale = value; } } public double RealCenter { get { return( _realCenter ); } set { _realCenter = value; } } public double ImgCenter { get { return( _imgCenter ); } set { _imgCenter = value; } } public int[] ColorMap { get { return( _Color ); } set { _Color = value; } } } }