C# Класс Xwt.Drawing.BitmapImage

Наследование: Image
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

Приватные методы

Метод Описание
BitmapImage ( Image origImage ) : System
BitmapImage ( object backend, Size size, Toolkit toolkit ) : System
MakeWrittable ( ) : void

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

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

public BitmapImage ( BitmapImage image ) : System
image BitmapImage
Результат System

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

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
Результат void

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

Creates a crop of the image
public Crop ( Rectangle pixelRect ) : BitmapImage
pixelRect Rectangle
Результат BitmapImage

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

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
Результат BitmapImage

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

public GetPixel ( int x, int y ) : Color
x int
y int
Результат Color

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

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Результат void

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

public SetPixelDirectly ( int x, int y, Color color ) : void
x int
y int
color Color
Результат void