C# Класс Flood.GUI.Controls.ImagePanel

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

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ImagePanel ( Control parent )

Initializes a new instance of the ImagePanel class.

SetImage ( ResourceHandle imageHandle ) : void
SetUV ( float u1, float v1, float u2, float v2 ) : void

Sets the texture coordinates of the image.

SizeToContents ( ) : void

Sizes the control to its contents.

Защищенные методы

Метод Описание
Render ( Skins skin ) : void

Renders the control using specified skin.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Initializes a new instance of the ImagePanel class.
public ImagePanel ( Control parent )
parent Control Parent control.

Render() защищенный Метод

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
Результат void

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

public SetImage ( ResourceHandle imageHandle ) : void
imageHandle ResourceHandle
Результат void

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

Sets the texture coordinates of the image.
public SetUV ( float u1, float v1, float u2, float v2 ) : void
u1 float
v1 float
u2 float
v2 float
Результат void

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

Sizes the control to its contents.
public SizeToContents ( ) : void
Результат void