C# Class ArduinoTest.Components.ScreenColorManager

Figures out what the Screen Color is
Inheritance: IScreenColorManager
ファイルを表示 Open project: holymoo/Disposition

Public Methods

Method Description
GetCenterScreenColor ( ) : ArduinoTest.Components.Domain.Color

Gets the color of the pixel at the center of the screen

Private Methods

Method Description
BitBlt ( IntPtr hDc, int x, int y, int nWidth, int nHeight, IntPtr hSrcDc, int xSrc, int ySrc, int dwRop ) : int
MapColor ( System color ) : ArduinoTest.Components.Domain.Color

Maps a .Net Color Type to the Local Color Type

Method Details

GetCenterScreenColor() public method

Gets the color of the pixel at the center of the screen
public GetCenterScreenColor ( ) : ArduinoTest.Components.Domain.Color
return ArduinoTest.Components.Domain.Color