C# Класс Mosa.DeviceSystem.PixelPaletteGraphicsAdapter

Translates IPixelPaletteGraphicsDevice to PixelPaletteGraphicsAdapter
Наследование: IPixelGraphicsDevice
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
colorPalette Mosa.DeviceSystem.ColorPalette
pixelPaletteGraphicsDevice IPixelPaletteGraphicsDevice

Открытые методы

Метод Описание
Clear ( Color color ) : void

Clears the specified color.

PixelPaletteGraphicsAdapter ( IPixelPaletteGraphicsDevice pixelPaletteGraphicsDevice )

Initializes a new instance of the PixelPaletteGraphicsAdapter class.

ReadPixel ( ushort x, ushort y ) : Color

Reads the pixel.

WritePixel ( Color color, ushort x, ushort y ) : void

Writes the pixel.

Описание методов

Clear() публичный Метод

Clears the specified color.
public Clear ( Color color ) : void
color Color The color.
Результат void

PixelPaletteGraphicsAdapter() публичный Метод

Initializes a new instance of the PixelPaletteGraphicsAdapter class.
public PixelPaletteGraphicsAdapter ( IPixelPaletteGraphicsDevice pixelPaletteGraphicsDevice )
pixelPaletteGraphicsDevice IPixelPaletteGraphicsDevice The pixel palette graphics device.

ReadPixel() публичный Метод

Reads the pixel.
public ReadPixel ( ushort x, ushort y ) : Color
x ushort The x.
y ushort The y.
Результат Color

WritePixel() публичный Метод

Writes the pixel.
public WritePixel ( Color color, ushort x, ushort y ) : void
color Color The color.
x ushort The x.
y ushort The y.
Результат void

Описание свойств

colorPalette защищенное свойство

protected ColorPalette,Mosa.DeviceSystem colorPalette
Результат Mosa.DeviceSystem.ColorPalette

pixelPaletteGraphicsDevice защищенное свойство

protected IPixelPaletteGraphicsDevice pixelPaletteGraphicsDevice
Результат IPixelPaletteGraphicsDevice