Пример #1
0
 /// <summary>
 /// Creates a new instance of GradientControl
 /// </summary>
 public HueSlider()
 {
     _min = 0;
     _max = 360;
     _leftHandle = new HueHandle(this);
     _leftHandle.Position = 72;
     _leftHandle.Left = true;
     _rightHandle = new HueHandle(this);
     _rightHandle.Position = 288;
 }
Пример #2
0
 /// <summary>
 /// Creates a new instance of GradientControl
 /// </summary>
 public HueSlider()
 {
     _min                  = 0;
     _max                  = 360;
     _leftHandle           = new HueHandle(this);
     _leftHandle.Position  = 72;
     _leftHandle.Left      = true;
     _rightHandle          = new HueHandle(this);
     _rightHandle.Position = 288;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HueSlider"/> class.
 /// </summary>
 public HueSlider()
 {
     _min       = 0;
     _max       = 360;
     LeftHandle = new HueHandle(this)
     {
         Position = 72,
         Left     = true
     };
     RightHandle = new HueHandle(this)
     {
         Position = 288
     };
 }