C# 클래스 Mosa.DeviceSystem.PixelPaletteGraphicsAdapter

Translates IPixelPaletteGraphicsDevice to PixelPaletteGraphicsAdapter
상속: IPixelGraphicsDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
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