C# Class Animatroller.Framework.LogicalDevice.VirtualPixel1D3

Inheritance: SingleOwnerDevice, IPixel1D2, IApiVersion3, IReceivesBrightness, IReceivesColor
Mostrar archivo Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
devices List
pixelCount int

Public Methods

Method Description
AddPixelDevice ( int startVirtualPosition, int positions, bool reverse, Action pixelsChanged ) : VirtualPixel1D3
BuildDefaultData ( IData data ) : void
Chaser ( IData data, int speed, IControlToken token = null ) : Task
Inject ( Color color, double brightness = 1.0, IControlToken token = null ) : void
InjectRev ( Color color, double brightness, IControlToken token = null ) : void
SetBrightness ( double brightness, IControlToken token = null ) : void
SetColor ( Color color, double brightness = 1.0, IControlToken token = null ) : void
SetColorRange ( Color color, double brightness = 1.0, int startPosition, int length = null, IControlToken token = null ) : void
VirtualPixel1D3 ( int pixels, [ name = "" ) : System

Protected Methods

Method Description
Output ( ) : void
PreprocessPushData ( IData data ) : IData

Private Methods

Method Description
GetBitmap ( ) : Bitmap
GetColorFromColorAndBrightness ( Color input, double brightness ) : Color

Method Details

AddPixelDevice() public method

public AddPixelDevice ( int startVirtualPosition, int positions, bool reverse, Action pixelsChanged ) : VirtualPixel1D3
startVirtualPosition int
positions int
reverse bool
pixelsChanged Action
return VirtualPixel1D3

BuildDefaultData() public method

public BuildDefaultData ( IData data ) : void
data IData
return void

Chaser() public method

public Chaser ( IData data, int speed, IControlToken token = null ) : Task
data IData
speed int
token IControlToken
return Task

Inject() public method

public Inject ( Color color, double brightness = 1.0, IControlToken token = null ) : void
color Color
brightness double
token IControlToken
return void

InjectRev() public method

public InjectRev ( Color color, double brightness, IControlToken token = null ) : void
color Color
brightness double
token IControlToken
return void

Output() protected method

protected Output ( ) : void
return void

PreprocessPushData() protected method

protected PreprocessPushData ( IData data ) : IData
data IData
return IData

SetBrightness() public method

public SetBrightness ( double brightness, IControlToken token = null ) : void
brightness double
token IControlToken
return void

SetColor() public method

public SetColor ( Color color, double brightness = 1.0, IControlToken token = null ) : void
color Color
brightness double
token IControlToken
return void

SetColorRange() public method

public SetColorRange ( Color color, double brightness = 1.0, int startPosition, int length = null, IControlToken token = null ) : void
color Color
brightness double
startPosition int
length int
token IControlToken
return void

VirtualPixel1D3() public method

public VirtualPixel1D3 ( int pixels, [ name = "" ) : System
pixels int
name [
return System

Property Details

devices protected_oe property

protected List devices
return List

pixelCount protected_oe property

protected int pixelCount
return int