Mosa.DeviceSystem.PixelPaletteGraphicsAdapter.ReadPixel C# (CSharp) Method

ReadPixel() public method

Reads the pixel.
public ReadPixel ( ushort x, ushort y ) : Color
x ushort The x.
y ushort The y.
return Color
        public Color ReadPixel(ushort x, ushort y)
        {
            return colorPalette.GetColor(pixelPaletteGraphicsDevice.ReadPixel(x, y));
        }