// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
// ReSharper disable MemberCanBePrivate.Global
using RGB.NET.Core;
namespace RGB.NET.Brushes.Gradients
{
///
/// Represents a stop on a gradient.
///
public class GradientStop
{
#region Properties & Fields
///
/// Gets or sets the percentage offset to place this . This should be inside the range of [0..1] but it's not necessary.
///
public double Offset { get; set; }
///
/// Gets or sets the of this .
///
public Color Color { get; set; }
#endregion
#region Constructors
///
/// Initializes a new instance of the class.
///
/// The percentage offset to place this .
/// The of the .
public GradientStop(double offset, Color color)
{
this.Offset = offset;
this.Color = color;
}
#endregion
}
}