C# Class Mosa.DeviceSystem.PixelPaletteGraphicsAdapter

Translates IPixelPaletteGraphicsDevice to PixelPaletteGraphicsAdapter
Inheritance: IPixelGraphicsDevice
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
colorPalette Mosa.DeviceSystem.ColorPalette
pixelPaletteGraphicsDevice IPixelPaletteGraphicsDevice

Méthodes publiques

Méthode Description
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.

Method Details

Clear() public méthode

Clears the specified color.
public Clear ( Color color ) : void
color Color The color.
Résultat void

PixelPaletteGraphicsAdapter() public méthode

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

ReadPixel() public méthode

Reads the pixel.
public ReadPixel ( ushort x, ushort y ) : Color
x ushort The x.
y ushort The y.
Résultat Color

WritePixel() public méthode

Writes the pixel.
public WritePixel ( Color color, ushort x, ushort y ) : void
color Color The color.
x ushort The x.
y ushort The y.
Résultat void

Property Details

colorPalette protected_oe property

protected ColorPalette,Mosa.DeviceSystem colorPalette
Résultat Mosa.DeviceSystem.ColorPalette

pixelPaletteGraphicsDevice protected_oe property

protected IPixelPaletteGraphicsDevice pixelPaletteGraphicsDevice
Résultat IPixelPaletteGraphicsDevice