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

WritePixel() public method

Writes the pixel.
public WritePixel ( Color color, ushort x, ushort y ) : void
color Color The color.
x ushort The x.
y ushort The y.
return void
        public void WritePixel(Color color, ushort x, ushort y)
        {
            pixelPaletteGraphicsDevice.WritePixel(colorPalette.FindClosestMatch(color), x, y);
        }