Method | Description | |
---|---|---|
Draw ( |
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, |
Initializes a new instance of the ImageBox class.
|
public Draw ( |
||
batch | An spritebactch already started for alpha blending with deferred sort mode. | |
return | void |
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. |
return | System |
public ImageBox ( Control parent, Microsoft.Xna.Framework.Graphics.Texture2D texture, Color colour, |
||
parent | Control | This controls parent control. |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | The texture. |
colour | Color | The colour. |
sourceRectangle | The source rectangle. | |
return | System |