// ReSharper disable EventNeverSubscribedTo.Global using System; using RGB.NET.Core; using RGB.NET.Presets.Decorators; namespace RGB.NET.Presets.Textures.Gradients { /// /// Represents a basic gradient. /// public interface IGradient : IDecoratable { /// /// Occurs if the is changed. /// event EventHandler GradientChanged; /// /// Gets the of the on the specified offset. /// /// The percentage offset to take the from. /// The at the specific offset. Color GetColor(float offset); /// /// Moves the by the provided offset. /// /// The offset the should be moved. void Move(float offset); } }