Method | Description | |
---|---|---|
AddEffect ( IEffect |
NOT IMPLEMENTED: Effects can't be applied directly to the device. Add it to the Brush or create a ledgroup instead.
|
|
AttachLedGroup ( ILedGroup ledGroup ) : bool |
Attaches the given ledgroup.
|
|
DetachLedGroup ( ILedGroup ledGroup ) : bool |
Detaches the given ledgroup.
|
|
GetEnumerator ( ) : IEnumerator |
Returns an enumerator that iterates over all LEDs of the device.
|
|
GetLeds ( ) : IEnumerable |
Gets a list containing all LEDs of this group.
|
|
Initialize ( ) : void |
Initializes the device.
|
|
RemoveEffect ( IEffect |
NOT IMPLEMENTED: Effects can't be applied directly to the device. Add it to the Brush or create a ledgroup instead.
|
|
Update ( bool flushLeds = false ) : void |
Performs an update for all dirty keys, or all keys if flushLeds is set to true.
|
|
UpdateEffects ( ) : void |
NOT IMPLEMENTED: Effects can't be applied directly to the device. Add it to the Brush or create a ledgroup instead.
|
|
this ( CorsairLedId ledId ) : |
Gets the CorsairLed with the specified ID.
|
|
this ( |
Gets the CorsairLed at the given physical location.
|
|
this ( |
Gets a list of CorsairLed inside the given rectangle.
|
Method | Description | |
---|---|---|
AbstractCueDevice ( IDeviceInfo info ) : System |
Initializes a new instance of the AbstractCueDevice class.
|
|
DeviceUpdate ( ) : void |
Performs device specific updates.
|
|
InitializeLed ( CorsairLedId ledId, |
Initializes the LED-Object with the specified id.
|
|
OnException ( |
Handles the needed event-calls for an exception.
|
|
OnLedsUpdated ( IEnumerable |
Handles the needed event-calls after the leds are updated.
|
|
OnLedsUpdating ( ICollection |
Handles the needed event-calls before the leds are updated.
|
|
OnUpdated ( ) : void |
Handles the needed event-calls after an update.
|
|
OnUpdating ( ) : void |
Handles the needed event-calls before updating.
|
|
Render ( ILedGroup ledGroup ) : void |
Renders a ledgroup.
|
Method | Description | |
---|---|---|
IEnumerable ( ) : IEnumerator |
Returns an enumerator that iterates over all LEDs of the device.
|
|
ResetLeds ( ) : void |
Resets all loaded LEDs back to default.
|
|
UpdateLeds ( ICollection |
protected AbstractCueDevice ( IDeviceInfo info ) : System | ||
info | IDeviceInfo | The generic information provided by CUE for the device. |
return | System |
public AddEffect ( IEffect |
||
effect | IEffect |
The effect to add. |
return | void |
public AttachLedGroup ( ILedGroup ledGroup ) : bool | ||
ledGroup | ILedGroup | The ledgroup to attach. |
return | bool |
public DetachLedGroup ( ILedGroup ledGroup ) : bool | ||
ledGroup | ILedGroup | The ledgroup to detached. |
return | bool |
protected InitializeLed ( CorsairLedId ledId, |
||
ledId | CorsairLedId | The LED-Id to initialize. |
ledRectangle | The rectangle representing the position of the LED to initialize. | |
return |
protected OnException ( |
||
ex | The exception previously thrown. | |
return | void |
protected OnLedsUpdated ( IEnumerable |
||
updatedLeds | IEnumerable |
|
return | void |
protected OnLedsUpdating ( ICollection |
||
updatingLeds | ICollection |
|
return | void |
public RemoveEffect ( IEffect |
||
effect | IEffect |
The effect to remove. |
return | void |
protected Render ( ILedGroup ledGroup ) : void | ||
ledGroup | ILedGroup | The led group to render. |
return | void |
public Update ( bool flushLeds = false ) : void | ||
flushLeds | bool | Specifies whether all keys (including clean ones) should be updated. |
return | void |
public this ( CorsairLedId ledId ) : |
||
ledId | CorsairLedId | The ID of the LED to get. |
return |
public this ( |
||
location | The point to get the location from. | |
return |
public this ( |
||
referenceRect | The rectangle to check. | |
minOverlayPercentage | float | The minimal percentage overlay a location must have with the |
return | IEnumerable |