Method | 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 |
public static GenerateTexture ( int width, int height, Color color ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
width | int | |
height | int | |
color | Color | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
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 | |
return | Microsoft.Xna.Framework.Graphics.Texture2D |