C# 클래스 Flood.GUI.Controls.ImagePanel

Image container.
상속: Control
파일 보기 프로젝트 열기: FloodProject/flood 1 사용 예제들

공개 메소드들

메소드 설명
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