C# Class Nez.UI.TiledDrawable

Draws a {@link Subtexture} repeatedly to fill the area, instead of stretching it
Inheritance: SubtextureDrawable
Afficher le fichier Open project: prime31/Nez Class Usage Examples

Méthodes publiques

Méthode Description
TiledDrawable ( Subtexture subtexture ) : System
TiledDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
draw ( Graphics graphics, float x, float y, float width, float height, Color color ) : void

Method Details

TiledDrawable() public méthode

public TiledDrawable ( Subtexture subtexture ) : System
subtexture Nez.Textures.Subtexture
Résultat System

TiledDrawable() public méthode

public TiledDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

draw() public méthode

public draw ( Graphics graphics, float x, float y, float width, float height, Color color ) : void
graphics Graphics
x float
y float
width float
height float
color Color
Résultat void