C# Class MonoGdx.Graphics.G2D.NinePatch

Afficher le fichier Open project: jaquadro/MonoGdx Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GdxSpriteBatch spriteBatch, float x, float y, float width, float height ) : void
NinePatch ( ) : System
NinePatch ( NinePatch ninePatch ) : System
NinePatch ( NinePatch ninePatch, Color color ) : System
NinePatch ( TextureContext texture ) : System
NinePatch ( TextureContext texture, Color color ) : System
NinePatch ( TextureContext texture, int left, int right, int top, int bottom ) : System
NinePatch ( TextureRegion region, Color color ) : System
NinePatch ( TextureRegion region, int left, int right, int top, int bottom ) : System
SetPadding ( int left, int right, int top, int bottom ) : void

Private Methods

Méthode Description
Add ( TextureRegion region, Color color ) : int
Load ( TextureRegion patches ) : void
Set ( int index, float x, float y, float width, float height, Color color ) : void

Method Details

Draw() public méthode

public Draw ( GdxSpriteBatch spriteBatch, float x, float y, float width, float height ) : void
spriteBatch GdxSpriteBatch
x float
y float
width float
height float
Résultat void

NinePatch() public méthode

public NinePatch ( ) : System
Résultat System

NinePatch() public méthode

public NinePatch ( NinePatch ninePatch ) : System
ninePatch NinePatch
Résultat System

NinePatch() public méthode

public NinePatch ( NinePatch ninePatch, Color color ) : System
ninePatch NinePatch
color Color
Résultat System

NinePatch() public méthode

public NinePatch ( TextureContext texture ) : System
texture TextureContext
Résultat System

NinePatch() public méthode

public NinePatch ( TextureContext texture, Color color ) : System
texture TextureContext
color Color
Résultat System

NinePatch() public méthode

public NinePatch ( TextureContext texture, int left, int right, int top, int bottom ) : System
texture TextureContext
left int
right int
top int
bottom int
Résultat System

NinePatch() public méthode

public NinePatch ( TextureRegion region, Color color ) : System
region TextureRegion
color Color
Résultat System

NinePatch() public méthode

public NinePatch ( TextureRegion region, int left, int right, int top, int bottom ) : System
region TextureRegion
left int
right int
top int
bottom int
Résultat System

SetPadding() public méthode

public SetPadding ( int left, int right, int top, int bottom ) : void
left int
right int
top int
bottom int
Résultat void