Show / Hide Table of Contents

Interface ILedGroup

Represents a generic ledgroup.

Inherited Members
IDecoratable<ILedGroupDecorator>.Decorators
IDecoratable<ILedGroupDecorator>.AddDecorator(ILedGroupDecorator)
IDecoratable<ILedGroupDecorator>.RemoveDecorator(ILedGroupDecorator)
IDecoratable<ILedGroupDecorator>.RemoveAllDecorators()
INotifyPropertyChanged.PropertyChanged
IEnumerable<Led>.GetEnumerator()
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 Source

Brush

Gets or sets the IBrush which should be drawn over this ILedGroup.

Declaration
IBrush? Brush { get; set; }
Property Value
Type Description
IBrush
| Edit this page View Source

IsAttached

Gets a bool indicating if the group is attached to a surface.

Declaration
bool IsAttached { get; }
Property Value
Type Description
bool
| Edit this page View Source

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
| Edit this page View Source

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 Source

OnAttach()

Called when the ILedGroup is attached to the RGBSurface.

Declaration
void OnAttach()
| Edit this page View Source

OnDetach()

Called when the ILedGroup is detached from the RGBSurface.

Declaration
void OnDetach()
| Edit this page View Source

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.

Extension Methods

LedGroupExtension.Attach(ILedGroup, RGBSurface)
LedGroupExtension.Detach(ILedGroup)
LedGroupExtension.Exclude(ILedGroup, params Led[])
LedGroupExtension.ToListLedGroup(ILedGroup)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX