C# Класс CUE.NET.Groups.RectangleLedGroup

Represents a ledgroup containing LEDs which physically lay inside a rectangle.
Наследование: AbstractLedGroup
Показать файл Открыть проект

Открытые методы

Метод Описание
GetLeds ( ) : IEnumerable
RectangleLedGroup ( ICueDevice device, CorsairLed fromLed, CorsairLed toLed, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic

Initializes a new instance of the RectangleLedGroup class.

RectangleLedGroup ( ICueDevice device, CorsairLedId fromLed, CorsairLedId toLed, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic

Initializes a new instance of the RectangleLedGroup class.

RectangleLedGroup ( ICueDevice device, PointF fromPoint, PointF toPoint, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic

Initializes a new instance of the RectangleLedGroup class.

RectangleLedGroup ( ICueDevice device, RectangleF rectangle, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic

Initializes a new instance of the RectangleLedGroup class.

Описание методов

GetLeds() публичный Метод

public GetLeds ( ) : IEnumerable
Результат IEnumerable

RectangleLedGroup() публичный Метод

Initializes a new instance of the RectangleLedGroup class.
public RectangleLedGroup ( ICueDevice device, CorsairLed fromLed, CorsairLed toLed, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
fromLed CUE.NET.Devices.Generic.CorsairLed They first LED to calculate the rectangle of this ledgroup from.
toLed CUE.NET.Devices.Generic.CorsairLed They second LED to calculate the rectangle of this ledgroup from.
minOverlayPercentage float (optional) The minimal percentage overlay a LED must have with the to be taken into the ledgroup. (default: 0.5f)
autoAttach bool (optional) Specifies whether this group should be automatically attached or not. (default: true)
Результат System.Collections.Generic

RectangleLedGroup() публичный Метод

Initializes a new instance of the RectangleLedGroup class.
public RectangleLedGroup ( ICueDevice device, CorsairLedId fromLed, CorsairLedId toLed, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
fromLed CorsairLedId They ID of the first LED to calculate the rectangle of this ledgroup from.
toLed CorsairLedId They ID of the second LED to calculate the rectangle of this ledgroup from.
minOverlayPercentage float (optional) The minimal percentage overlay a LED must have with the to be taken into the ledgroup. (default: 0.5f)
autoAttach bool (optional) Specifies whether this group should be automatically attached or not. (default: true)
Результат System.Collections.Generic

RectangleLedGroup() публичный Метод

Initializes a new instance of the RectangleLedGroup class.
public RectangleLedGroup ( ICueDevice device, PointF fromPoint, PointF toPoint, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
fromPoint System.Drawing.PointF They first point to calculate the rectangle of this ledgroup from.
toPoint System.Drawing.PointF They second point to calculate the rectangle of this ledgroup from.
minOverlayPercentage float (optional) The minimal percentage overlay a LED must have with the to be taken into the ledgroup. (default: 0.5f)
autoAttach bool (optional) Specifies whether this group should be automatically attached or not. (default: true)
Результат System.Collections.Generic

RectangleLedGroup() публичный Метод

Initializes a new instance of the RectangleLedGroup class.
public RectangleLedGroup ( ICueDevice device, RectangleF rectangle, float minOverlayPercentage = 0.5f, bool autoAttach = true ) : System.Collections.Generic
device ICueDevice The device this ledgroup belongs to.
rectangle System.Drawing.RectangleF The rectangle of this ledgroup.
minOverlayPercentage float (optional) The minimal percentage overlay a LED must have with the to be taken into the ledgroup. (default: 0.5f)
autoAttach bool (optional) Specifies whether this group should be automatically attached or not. (default: true)
Результат System.Collections.Generic