C# 클래스 Myre.UI.Controls.ImageBox

A control which draws an image.
상속: Control
파일 보기 프로젝트 열기: TomGillen/Myre

공개 메소드들

메소드 설명
Draw ( SpriteBatch batch ) : void

Draws the control.

ImageBox ( Control parent, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System

Initializes a new instance of the ImageBox class.

ImageBox ( Control parent, Microsoft.Xna.Framework.Graphics.Texture2D texture, Color colour, Rectangle sourceRectangle ) : System

Initializes a new instance of the ImageBox class.

메소드 상세

Draw() 공개 메소드

Draws the control.
public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch An spritebactch already started for alpha blending with deferred sort mode.
리턴 void

ImageBox() 공개 메소드

Initializes a new instance of the ImageBox class.
public ImageBox ( Control parent, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
parent Control This controls parent control.
texture Microsoft.Xna.Framework.Graphics.Texture2D The texture.
리턴 System

ImageBox() 공개 메소드

Initializes a new instance of the ImageBox class.
public ImageBox ( Control parent, Microsoft.Xna.Framework.Graphics.Texture2D texture, Color colour, Rectangle sourceRectangle ) : System
parent Control This controls parent control.
texture Microsoft.Xna.Framework.Graphics.Texture2D The texture.
colour Color The colour.
sourceRectangle Microsoft.Xna.Framework.Rectangle The source rectangle.
리턴 System