C# Class MilkShakeFramework.Tools.Utils.TextureUtils

Afficher le fichier Open project: lucas-jones/MilkShake-old

Méthodes publiques

Méthode Description
GenerateTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D
GenerateTexureWithBorder ( int width, int height, Color color, int borderThickness, Color borderColor ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

GenerateTexture() public static méthode

public static GenerateTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
color Color
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GenerateTexureWithBorder() public static méthode

public static GenerateTexureWithBorder ( int width, int height, Color color, int borderThickness, Color borderColor ) : Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
color Color
borderThickness int
borderColor Color
Résultat Microsoft.Xna.Framework.Graphics.Texture2D