C# Class FSO.Client.UI.Controls.NineSliceMargins

Mostrar archivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
BC Microsoft.Xna.Framework.Rectangle
BC_Scale Vector2
BL Microsoft.Xna.Framework.Rectangle
BR Microsoft.Xna.Framework.Rectangle
Bottom int
Left int
MC Microsoft.Xna.Framework.Rectangle
MC_Scale Vector2
ML Microsoft.Xna.Framework.Rectangle
ML_Scale Vector2
MR Microsoft.Xna.Framework.Rectangle
MR_Scale Vector2
Right int
TC Microsoft.Xna.Framework.Rectangle
TC_Scale Vector2
TL Microsoft.Xna.Framework.Rectangle
TR Microsoft.Xna.Framework.Rectangle
Top int

Public Methods

Method Description
CalculateOrigins ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
CalculateScales ( float width, float height ) : void
DrawOnto ( SpriteBatch SBatch, UIElement element, Microsoft.Xna.Framework.Graphics.Texture2D m_Texture, float width, float height ) : void
DrawOntoPosition ( SpriteBatch SBatch, UIElement element, Microsoft.Xna.Framework.Graphics.Texture2D m_Texture, float width, float height, Vector2 position ) : void

Method Details

CalculateOrigins() public method

public CalculateOrigins ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
return void

CalculateScales() public method

public CalculateScales ( float width, float height ) : void
width float
height float
return void

DrawOnto() public method

public DrawOnto ( SpriteBatch SBatch, UIElement element, Microsoft.Xna.Framework.Graphics.Texture2D m_Texture, float width, float height ) : void
SBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
element FSO.Client.UI.Framework.UIElement
m_Texture Microsoft.Xna.Framework.Graphics.Texture2D
width float
height float
return void

DrawOntoPosition() public method

public DrawOntoPosition ( SpriteBatch SBatch, UIElement element, Microsoft.Xna.Framework.Graphics.Texture2D m_Texture, float width, float height, Vector2 position ) : void
SBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
element FSO.Client.UI.Framework.UIElement
m_Texture Microsoft.Xna.Framework.Graphics.Texture2D
width float
height float
position Vector2
return void

Property Details

BC public_oe property

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

BC_Scale public_oe property

public Vector2 BC_Scale
return Vector2

BL public_oe property

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

BR public_oe property

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

Bottom public_oe property

public int Bottom
return int

Left public_oe property

public int Left
return int

MC public_oe property

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

MC_Scale public_oe property

public Vector2 MC_Scale
return Vector2

ML public_oe property

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

ML_Scale public_oe property

public Vector2 ML_Scale
return Vector2

MR public_oe property

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

MR_Scale public_oe property

public Vector2 MR_Scale
return Vector2

Right public_oe property

public int Right
return int

TC public_oe property

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

TC_Scale public_oe property

public Vector2 TC_Scale
return Vector2

TL public_oe property

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

TR public_oe property

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

Top public_oe property

public int Top
return int