C# Class Animatroller.Framework.LogicalDevice.VirtualPixel2D

Inheritance: SingleOwnerDevice, IPixel2D
Show file Open project: HakanL/animatroller

Protected Properties

Property Type Description
brightness ].double[
color ].Color[
globalBrightness ControlSubject
lockObject object
pixelHeight int
pixelWidth int
showBuffer ]>.Subject

Public Methods

Method Description
SetAll ( Color color, double brightness ) : VirtualPixel2D
SetPixel ( int x, int y, Color color, double brightness = 1.0 ) : void
SetRGB ( byte array, int arrayOffset, int arrayLength, int pixelOffset, bool raiseChangeEvent = true ) : void
ShowBuffer ( ) : void
VirtualPixel2D ( int width, int height, [ name = "" ) : System

Protected Methods

Method Description
UpdateOutput ( ) : void

Method Details

SetAll() public method

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

SetPixel() public method

public SetPixel ( int x, int y, Color color, double brightness = 1.0 ) : void
x int
y int
color Color
brightness double
return void

SetRGB() public method

public SetRGB ( byte array, int arrayOffset, int arrayLength, int pixelOffset, bool raiseChangeEvent = true ) : void
array byte
arrayOffset int
arrayLength int
pixelOffset int
raiseChangeEvent bool
return void

ShowBuffer() public method

public ShowBuffer ( ) : void
return void

UpdateOutput() protected method

protected UpdateOutput ( ) : void
return void

VirtualPixel2D() public method

public VirtualPixel2D ( int width, int height, [ name = "" ) : System
width int
height int
name [
return System

Property Details

brightness protected property

protected double[,] brightness
return ].double[

color protected property

protected Color[,] color
return ].Color[

globalBrightness protected property

protected ControlSubject globalBrightness
return ControlSubject

lockObject protected property

protected object lockObject
return object

pixelHeight protected property

protected int pixelHeight
return int

pixelWidth protected property

protected int pixelWidth
return int

showBuffer protected property

protected Subject showBuffer
return ]>.Subject