C# Class Terraria.GameContent.UI.Elements.UIImageFramed

Inheritance: Terraria.UI.UIElement
Mostra file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
SetFrame ( Rectangle frame ) : void
SetImage ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle frame ) : void
UIImageFramed ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle frame ) : Microsoft.Xna.Framework

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Method Details

DrawSelf() protected method

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

SetFrame() public method

public SetFrame ( Rectangle frame ) : void
frame Microsoft.Xna.Framework.Rectangle
return void

SetImage() public method

public SetImage ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle frame ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
frame Microsoft.Xna.Framework.Rectangle
return void

UIImageFramed() public method

public UIImageFramed ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle frame ) : Microsoft.Xna.Framework
texture Microsoft.Xna.Framework.Graphics.Texture2D
frame Microsoft.Xna.Framework.Rectangle
return Microsoft.Xna.Framework