C# Class Xwt.Drawing.BitmapImage

Inheritance: Image
Afficher le fichier Open project: antmicro/xwt Class Usage Examples

Méthodes publiques

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

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

Method Details

BitmapImage() public méthode

public BitmapImage ( BitmapImage image ) : System
image BitmapImage
Résultat System

CopyArea() public méthode

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
Résultat void

Crop() public méthode

Creates a crop of the image
public Crop ( Rectangle pixelRect ) : BitmapImage
pixelRect Rectangle
Résultat BitmapImage

Crop() public méthode

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
Résultat BitmapImage

GetPixel() public méthode

public GetPixel ( int x, int y ) : Color
x int
y int
Résultat Color

SetPixel() public méthode

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Résultat void

SetPixelDirectly() public méthode

public SetPixelDirectly ( int x, int y, Color color ) : void
x int
y int
color Color
Résultat void