C# Class Animatroller.Framework.LogicalDevice.Pixel1D

Inheritance: IOutput, ILogicalDevice, IHasBrightnessControl
Mostrar archivo Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
brightness double[]
color Color[]
effectJob Effect.MasterSweeper.Job
lockObject object
name string
owner IOwner
pixelCount int

Public Methods

Method Description
FadeTo ( ColorBrightness values, System.TimeSpan duration ) : Pixel1D
FadeTo ( int channel, Color color, double brightness, System.TimeSpan duration ) : Pixel1D
FadeToUsingHSV ( int channel, Color color, double brightness, System.TimeSpan duration ) : Pixel1D
Inject ( Color color, double brightness ) : Pixel1D
InjectRev ( Color color, double brightness ) : Pixel1D
InjectWithFade ( Color color, double brightness, System.TimeSpan duration ) : Pixel1D
Pixel1D ( string name, int pixels ) : System
ReleaseOwner ( ) : void
RunEffect ( Effect effect, System.TimeSpan oneSweepDuration ) : Effect.MasterSweeper.Job
SetAll ( Color color, double brightness ) : Pixel1D
SetAllOnlyColor ( Color color ) : Pixel1D
SetBrightness ( double value, IOwner owner ) : void
SetColor ( int channel, Color color ) : Pixel1D
SetColor ( int channel, Color color, double brightness ) : Pixel1D
SetColors ( int startChannel, ColorBrightness colorBrightness ) : Pixel1D
SetInitialState ( ) : void
StopEffect ( ) : void
TurnOff ( ) : Pixel1D

Protected Methods

Method Description
CheckBounds ( int channel ) : void
RaiseMultiPixelChanged ( int startChannel, int size ) : void
RaisePixelChanged ( int channel ) : void

Method Details

CheckBounds() protected method

protected CheckBounds ( int channel ) : void
channel int
return void

FadeTo() public method

public FadeTo ( ColorBrightness values, System.TimeSpan duration ) : Pixel1D
values ColorBrightness
duration System.TimeSpan
return Pixel1D

FadeTo() public method

public FadeTo ( int channel, Color color, double brightness, System.TimeSpan duration ) : Pixel1D
channel int
color Color
brightness double
duration System.TimeSpan
return Pixel1D

FadeToUsingHSV() public method

public FadeToUsingHSV ( int channel, Color color, double brightness, System.TimeSpan duration ) : Pixel1D
channel int
color Color
brightness double
duration System.TimeSpan
return Pixel1D

Inject() public method

public Inject ( Color color, double brightness ) : Pixel1D
color Color
brightness double
return Pixel1D

InjectRev() public method

public InjectRev ( Color color, double brightness ) : Pixel1D
color Color
brightness double
return Pixel1D

InjectWithFade() public method

public InjectWithFade ( Color color, double brightness, System.TimeSpan duration ) : Pixel1D
color Color
brightness double
duration System.TimeSpan
return Pixel1D

Pixel1D() public method

public Pixel1D ( string name, int pixels ) : System
name string
pixels int
return System

RaiseMultiPixelChanged() protected method

protected RaiseMultiPixelChanged ( int startChannel, int size ) : void
startChannel int
size int
return void

RaisePixelChanged() protected method

protected RaisePixelChanged ( int channel ) : void
channel int
return void

ReleaseOwner() public method

public ReleaseOwner ( ) : void
return void

RunEffect() public method

public RunEffect ( Effect effect, System.TimeSpan oneSweepDuration ) : Effect.MasterSweeper.Job
effect Effect
oneSweepDuration System.TimeSpan
return Effect.MasterSweeper.Job

SetAll() public method

public SetAll ( Color color, double brightness ) : Pixel1D
color Color
brightness double
return Pixel1D

SetAllOnlyColor() public method

public SetAllOnlyColor ( Color color ) : Pixel1D
color Color
return Pixel1D

SetBrightness() public method

public SetBrightness ( double value, IOwner owner ) : void
value double
owner IOwner
return void

SetColor() public method

public SetColor ( int channel, Color color ) : Pixel1D
channel int
color Color
return Pixel1D

SetColor() public method

public SetColor ( int channel, Color color, double brightness ) : Pixel1D
channel int
color Color
brightness double
return Pixel1D

SetColors() public method

public SetColors ( int startChannel, ColorBrightness colorBrightness ) : Pixel1D
startChannel int
colorBrightness ColorBrightness
return Pixel1D

SetInitialState() public method

public SetInitialState ( ) : void
return void

StopEffect() public method

public StopEffect ( ) : void
return void

TurnOff() public method

public TurnOff ( ) : Pixel1D
return Pixel1D

Property Details

brightness protected_oe property

protected double[] brightness
return double[]

color protected_oe property

protected Color[] color
return Color[]

effectJob protected_oe property

protected Effect.MasterSweeper.Job effectJob
return Effect.MasterSweeper.Job

lockObject protected_oe property

protected object lockObject
return object

name protected_oe property

protected string name
return string

owner protected_oe property

protected IOwner owner
return IOwner

pixelCount protected_oe property

protected int pixelCount
return int