C# Class Animatroller.Framework.LogicalDevice.PixelMapper2D

Mostrar archivo Open project: HakanL/animatroller

Public Methods

Method Description
FromRGBByteArray ( byte pixelData, int pixelOffset, Action setPixel ) : void
GetByteArray ( Color colorData ) : byte[]
PixelMapper2D ( int width, int height, PixelOrders pixelOrder ) : System

Private Methods

Method Description
PopulateFromPixelOrder ( PixelOrders pixelOrder ) : void

Method Details

FromRGBByteArray() public method

public FromRGBByteArray ( byte pixelData, int pixelOffset, Action setPixel ) : void
pixelData byte
pixelOffset int
setPixel Action
return void

GetByteArray() public method

public GetByteArray ( Color colorData ) : byte[]
colorData Color
return byte[]

PixelMapper2D() public method

public PixelMapper2D ( int width, int height, PixelOrders pixelOrder ) : System
width int
height int
pixelOrder PixelOrders
return System