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

Inheritance: ITextureRef
Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Свойство Type Description
Margins Microsoft.Xna.Framework.Rectangle
Texture Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

Méthode 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 méthode

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
Résultat void

SlicedTextureRef() public méthode

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

Property Details

Margins public_oe property

public Rectangle,Microsoft.Xna.Framework Margins
Résultat Microsoft.Xna.Framework.Rectangle

Texture public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics Texture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D