Interface ILedGroup
Represents a generic ledgroup.
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface ILedGroup : IDecoratable<ILedGroupDecorator>, IDecoratable, INotifyPropertyChanged, IEnumerable<Led>, IEnumerable
Properties
| Edit this page View SourceBrush
Declaration
IBrush? Brush { get; set; }
Property Value
| Type | Description |
|---|---|
| IBrush |
IsAttached
Gets a bool indicating if the group is attached to a surface.
Declaration
bool IsAttached { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Surface
Gets the surface this group is attached to or null if it is not attached to any surface.
Declaration
RGBSurface? Surface { get; }
Property Value
| Type | Description |
|---|---|
| RGBSurface |
ZIndex
Gets or sets the z-index of this ILedGroup to allow ordering them before drawing. (lowest first) (default: 0)
Declaration
int ZIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceOnAttach()
Called when the ILedGroup is attached to the RGBSurface.
Declaration
void OnAttach()
OnDetach()
Called when the ILedGroup is detached from the RGBSurface.
Declaration
void OnDetach()
ToList()
Returns a list containing all Led in this group.
Declaration
IList<Led> ToList()
Returns
| Type | Description |
|---|---|
| IList<Led> | A list containing all Led in this group. |