C# Class FSO.Client.UI.Model.SlicedTextureRef

Inheritance: ITextureRef
Datei anzeigen Open project: RHY3756547/FreeSO

Public Properties

Property Type Description
Margins Microsoft.Xna.Framework.Rectangle
Texture Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
Draw ( SpriteBatch SBatch, UIElement element, float x, float y, float width, float height ) : void
SlicedTextureRef ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle margins ) : System

Method Details

Draw() public method

public Draw ( SpriteBatch SBatch, UIElement element, float x, float y, float width, float height ) : void
SBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
element FSO.Client.UI.Framework.UIElement
x float
y float
width float
height float
return void

SlicedTextureRef() public method

public SlicedTextureRef ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle margins ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
margins Microsoft.Xna.Framework.Rectangle
return System

Property Details

Margins public_oe property

public Rectangle,Microsoft.Xna.Framework Margins
return Microsoft.Xna.Framework.Rectangle

Texture public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics Texture
return Microsoft.Xna.Framework.Graphics.Texture2D