C# Класс Nez.UI.TiledDrawable

Draws a {@link Subtexture} repeatedly to fill the area, instead of stretching it
Наследование: SubtextureDrawable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

TiledDrawable() публичный Метод

public TiledDrawable ( Subtexture subtexture ) : System
subtexture Nez.Textures.Subtexture
Результат System

TiledDrawable() публичный Метод

public TiledDrawable ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
Результат System

draw() публичный Метод

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
Результат void