C# Class Xwt.Drawing.BitmapImage

Inheritance: Image
Mostrar archivo Open project: antmicro/xwt Class Usage Examples

Public Methods

Method Description
BitmapImage ( BitmapImage image ) : System
CopyArea ( int srcX, int srcY, int width, int height, BitmapImage dest, int destX, int destY ) : void
Crop ( Rectangle pixelRect ) : BitmapImage

Creates a crop of the image

Crop ( int x, int y, int pixelWidth, int pixelHeight ) : BitmapImage

Creates a crop of the image

GetPixel ( int x, int y ) : Color
SetPixel ( int x, int y, Color color ) : void
SetPixelDirectly ( int x, int y, Color color ) : void

Private Methods

Method Description
BitmapImage ( Image origImage ) : System
BitmapImage ( object backend, Size size, Toolkit toolkit ) : System
MakeWrittable ( ) : void

Method Details

BitmapImage() public method

public BitmapImage ( BitmapImage image ) : System
image BitmapImage
return System

CopyArea() public method

public CopyArea ( int srcX, int srcY, int width, int height, BitmapImage dest, int destX, int destY ) : void
srcX int
srcY int
width int
height int
dest BitmapImage
destX int
destY int
return void

Crop() public method

Creates a crop of the image
public Crop ( Rectangle pixelRect ) : BitmapImage
pixelRect Rectangle
return BitmapImage

Crop() public method

Creates a crop of the image
public Crop ( int x, int y, int pixelWidth, int pixelHeight ) : BitmapImage
x int X coordinate, in physical pixels
y int Y coordinate, in physical pixels
pixelWidth int Width, in physical pixels
pixelHeight int Height, in physical pixels
return BitmapImage

GetPixel() public method

public GetPixel ( int x, int y ) : Color
x int
y int
return Color

SetPixel() public method

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
return void

SetPixelDirectly() public method

public SetPixelDirectly ( int x, int y, Color color ) : void
x int
y int
color Color
return void