mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Replaced effects with decorators.
Decorators should be way more flexible while beeing easy to use.
This commit is contained in:
1 parent
1f3213fa73
commit
2086b3729d
38 files changed
+414
-552
No files matched your search
@@ -11,7 +11,7 @@ namespace RGB.NET.Brushes.Gradients
|
||||
/// <summary>
|
||||
/// Represents a basic gradient.
|
||||
/// </summary>
|
||||
public abstract class AbstractGradient : IGradient
|
||||
public abstract class AbstractGradient : AbstractDecoratable<IGradientDecorator>, IGradient
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace RGB.NET.Brushes.Gradients
|
||||
/// <summary>
|
||||
/// Represents a basic gradient.
|
||||
/// </summary>
|
||||
public interface IGradient
|
||||
public interface IGradient : IDecoratable<IGradientDecorator>
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the <see cref="Color"/> of the <see cref="IGradient"/> on the specified offset.
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace RGB.NET.Brushes.Gradients
|
||||
/// Represents a rainbow gradient which circles through all colors of the HUE-color-space.<br />
|
||||
/// See <see href="http://upload.wikimedia.org/wikipedia/commons/a/ad/HueScale.svg" /> as reference.
|
||||
/// </summary>
|
||||
public class RainbowGradient : IGradient
|
||||
public class RainbowGradient : AbstractDecoratable<IGradientDecorator>, IGradient
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
|
||||
Reference in new issue
Block a user