1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 10:08:31 +00:00
RGB.NET/RGB.NET.Core/Groups/AbstractLedGroup.cs
2017-01-22 22:07:33 +01:00

33 lines
734 B
C#

using System.Collections.Generic;
namespace RGB.NET.Core
{
/// <summary>
/// Represents a generic ledgroup.
/// </summary>
public abstract class AbstractLedGroup : AbstractEffectTarget<ILedGroup>, ILedGroup
{
#region Properties & Fields
/// <summary>
/// Gets the strongly-typed target used for the effect.
/// </summary>
protected override ILedGroup EffectTarget => this;
/// <inheritdoc />
public IBrush Brush { get; set; }
/// <inheritdoc />
public int ZIndex { get; set; } = 0;
#endregion
#region Methods
/// <inheritdoc />
public abstract IEnumerable<Led> GetLeds();
#endregion
}
}