C# Class Nez.Textures.NinePatchSubtexture

Inheritance: Subtexture
Datei anzeigen Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
bottom int
left int
ninePatchRects Microsoft.Xna.Framework.Rectangle[]
right int
top int

Public Methods

Method Description
NinePatchSubtexture ( Subtexture subtexture, int left, int right, int top, int bottom ) : System
NinePatchSubtexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle sourceRect, int left, int right, int top, int bottom ) : System
NinePatchSubtexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int left, int right, int top, int bottom ) : System

Method Details

NinePatchSubtexture() public method

public NinePatchSubtexture ( Subtexture subtexture, int left, int right, int top, int bottom ) : System
subtexture Subtexture
left int
right int
top int
bottom int
return System

NinePatchSubtexture() public method

public NinePatchSubtexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle sourceRect, int left, int right, int top, int bottom ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
sourceRect Microsoft.Xna.Framework.Rectangle
left int
right int
top int
bottom int
return System

NinePatchSubtexture() public method

public NinePatchSubtexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, int left, int right, int top, int bottom ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
left int
right int
top int
bottom int
return System

Property Details

bottom public_oe property

public int bottom
return int

left public_oe property

public int left
return int

ninePatchRects public_oe property

public Rectangle[],Microsoft.Xna.Framework ninePatchRects
return Microsoft.Xna.Framework.Rectangle[]

right public_oe property

public int right
return int

top public_oe property

public int top
return int